Updated output from the docker cli help

Docker-DCO-1.1-Signed-off-by: SvenDowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
This commit is contained in:
SvenDowideit
2014-09-25 16:07:55 +10:00
parent 4547b6d529
commit cb6b196ab4
2 changed files with 61 additions and 43 deletions
+10 -1
View File
@@ -7,6 +7,7 @@ docker-create - Create a new container
# SYNOPSIS
**docker create**
[**-a**|**--attach**[=*[]*]]
[**--add-host**[=*[]*]]
[**-c**|**--cpu-shares**[=*0*]]
[**--cap-add**[=*[]*]]
[**--cap-drop**[=*[]*]]
@@ -29,6 +30,7 @@ docker-create - Create a new container
[**-P**|**--publish-all**[=*false*]]
[**-p**|**--publish**[=*[]*]]
[**--privileged**[=*false*]]
[**--restart**[=*RESTART*]]
[**-t**|**--tty**[=*false*]]
[**-u**|**--user**[=*USER*]]
[**-v**|**--volume**[=*[]*]]
@@ -40,6 +42,9 @@ docker-create - Create a new container
**-a**, **--attach**=[]
Attach to STDIN, STDOUT or STDERR.
**--add-host**=[]
Add a custom host-to-IP mapping (host:ip)
**-c**, **--cpu-shares**=0
CPU shares (relative weight)
@@ -106,12 +111,15 @@ docker-create - Create a new container
**-p**, **--publish**=[]
Publish a container's port to the host
format: ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort
format: ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort | containerPort
(use 'docker port' to see the actual mapping)
**--privileged**=*true*|*false*
Give extended privileges to this container. The default is *false*.
**--restart**=""
Restart policy to apply when a container exits (no, on-failure[:max-retry], always)
**-t**, **--tty**=*true*|*false*
Allocate a pseudo-TTY. The default is *false*.
@@ -129,3 +137,4 @@ docker-create - Create a new container
# HISTORY
August 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
September 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>