mirror of https://github.com/docker/cli.git
fix SYNOPSIS alphabetical order man-create
Signed-off-by: Sally O'Malley <somalley@redhat.com>
This commit is contained in:
parent
e0d42a679c
commit
7c7faab3d2
|
@ -88,12 +88,12 @@ The initial status of the container created with **docker create** is 'created'.
|
||||||
**--cap-drop**=[]
|
**--cap-drop**=[]
|
||||||
Drop Linux capabilities
|
Drop Linux capabilities
|
||||||
|
|
||||||
**--cidfile**=""
|
|
||||||
Write the container ID to the file
|
|
||||||
|
|
||||||
**--cgroup-parent**=""
|
**--cgroup-parent**=""
|
||||||
Path to cgroups under which the cgroup for the container will be created. If the path is not absolute, the path is considered to be relative to the cgroups path of the init process. Cgroups will be created if they do not already exist.
|
Path to cgroups under which the cgroup for the container will be created. If the path is not absolute, the path is considered to be relative to the cgroups path of the init process. Cgroups will be created if they do not already exist.
|
||||||
|
|
||||||
|
**--cidfile**=""
|
||||||
|
Write the container ID to the file
|
||||||
|
|
||||||
**--cpu-period**=0
|
**--cpu-period**=0
|
||||||
Limit the CPU CFS (Completely Fair Scheduler) period
|
Limit the CPU CFS (Completely Fair Scheduler) period
|
||||||
|
|
||||||
|
@ -107,18 +107,18 @@ The initial status of the container created with **docker create** is 'created'.
|
||||||
then processes in your Docker container will only use memory from the first
|
then processes in your Docker container will only use memory from the first
|
||||||
two memory nodes.
|
two memory nodes.
|
||||||
|
|
||||||
**-cpu-quota**=0
|
**--cpu-quota**=0
|
||||||
Limit the CPU CFS (Completely Fair Scheduler) quota
|
Limit the CPU CFS (Completely Fair Scheduler) quota
|
||||||
|
|
||||||
**--device**=[]
|
**--device**=[]
|
||||||
Add a host device to the container (e.g. --device=/dev/sdc:/dev/xvdc:rwm)
|
Add a host device to the container (e.g. --device=/dev/sdc:/dev/xvdc:rwm)
|
||||||
|
|
||||||
**--dns-search**=[]
|
|
||||||
Set custom DNS search domains (Use --dns-search=. if you don't wish to set the search domain)
|
|
||||||
|
|
||||||
**--dns**=[]
|
**--dns**=[]
|
||||||
Set custom DNS servers
|
Set custom DNS servers
|
||||||
|
|
||||||
|
**--dns-search**=[]
|
||||||
|
Set custom DNS search domains (Use --dns-search=. if you don't wish to set the search domain)
|
||||||
|
|
||||||
**-e**, **--env**=[]
|
**-e**, **--env**=[]
|
||||||
Set environment variables
|
Set environment variables
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@ two memory nodes.
|
||||||
Overwrite the default ENTRYPOINT of the image
|
Overwrite the default ENTRYPOINT of the image
|
||||||
|
|
||||||
**--env-file**=[]
|
**--env-file**=[]
|
||||||
Read in a line delimited file of environment variables
|
Read in a line-delimited file of environment variables
|
||||||
|
|
||||||
**--expose**=[]
|
**--expose**=[]
|
||||||
Expose a port or a range of ports (e.g. --expose=3300-3310) from the container without publishing it to your host
|
Expose a port or a range of ports (e.g. --expose=3300-3310) from the container without publishing it to your host
|
||||||
|
@ -158,9 +158,6 @@ two memory nodes.
|
||||||
Add link to another container in the form of <name or id>:alias or just
|
Add link to another container in the form of <name or id>:alias or just
|
||||||
<name or id> in which case the alias will match the name.
|
<name or id> in which case the alias will match the name.
|
||||||
|
|
||||||
**--lxc-conf**=[]
|
|
||||||
(lxc exec-driver only) Add custom lxc options --lxc-conf="lxc.cgroup.cpuset.cpus = 0,1"
|
|
||||||
|
|
||||||
**--log-driver**="|*json-file*|*syslog*|*journald*|*gelf*|*fluentd*|*none*"
|
**--log-driver**="|*json-file*|*syslog*|*journald*|*gelf*|*fluentd*|*none*"
|
||||||
Logging driver for container. Default is defined by daemon `--log-driver` flag.
|
Logging driver for container. Default is defined by daemon `--log-driver` flag.
|
||||||
**Warning**: `docker logs` command works only for `json-file` logging driver.
|
**Warning**: `docker logs` command works only for `json-file` logging driver.
|
||||||
|
@ -168,6 +165,9 @@ two memory nodes.
|
||||||
**--log-opt**=[]
|
**--log-opt**=[]
|
||||||
Logging driver specific options.
|
Logging driver specific options.
|
||||||
|
|
||||||
|
**--lxc-conf**=[]
|
||||||
|
(lxc exec-driver only) Add custom lxc options --lxc-conf="lxc.cgroup.cpuset.cpus = 0,1"
|
||||||
|
|
||||||
**-m**, **--memory**=""
|
**-m**, **--memory**=""
|
||||||
Memory limit (format: <number><optional unit>, where unit = b, k, m or g)
|
Memory limit (format: <number><optional unit>, where unit = b, k, m or g)
|
||||||
|
|
||||||
|
@ -177,14 +177,17 @@ RAM. If a limit of 0 is specified (not using **-m**), the container's memory is
|
||||||
not limited. The actual limit may be rounded up to a multiple of the operating
|
not limited. The actual limit may be rounded up to a multiple of the operating
|
||||||
system's page size (the value would be very large, that's millions of trillions).
|
system's page size (the value would be very large, that's millions of trillions).
|
||||||
|
|
||||||
|
**--mac-address**=""
|
||||||
|
Container MAC address (e.g. 92:d0:c6:0a:29:33)
|
||||||
|
|
||||||
**--memory-swap**=""
|
**--memory-swap**=""
|
||||||
Total memory limit (memory + swap)
|
Total memory limit (memory + swap)
|
||||||
|
|
||||||
Set `-1` to disable swap (format: <number><optional unit>, where unit = b, k, m or g).
|
Set `-1` to disable swap (format: <number><optional unit>, where unit = b, k, m or g).
|
||||||
This value should always larger than **-m**, so you should always use this with **-m**.
|
This value should always larger than **-m**, so you should always use this with **-m**.
|
||||||
|
|
||||||
**--mac-address**=""
|
**--memory-swappiness**=""
|
||||||
Container MAC address (e.g. 92:d0:c6:0a:29:33)
|
Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100.
|
||||||
|
|
||||||
**--name**=""
|
**--name**=""
|
||||||
Assign a name to the container
|
Assign a name to the container
|
||||||
|
@ -214,11 +217,6 @@ This value should always larger than **-m**, so you should always use this with
|
||||||
**host**: use the host's PID namespace inside the container.
|
**host**: use the host's PID namespace inside the container.
|
||||||
Note: the host mode gives the container full access to local PID and is therefore considered insecure.
|
Note: the host mode gives the container full access to local PID and is therefore considered insecure.
|
||||||
|
|
||||||
**--uts**=host
|
|
||||||
Set the UTS mode for the container
|
|
||||||
**host**: use the host's UTS namespace inside the container.
|
|
||||||
Note: the host mode gives the container access to changing the host's hostname and is therefore considered insecure.
|
|
||||||
|
|
||||||
**--privileged**=*true*|*false*
|
**--privileged**=*true*|*false*
|
||||||
Give extended privileges to this container. The default is *false*.
|
Give extended privileges to this container. The default is *false*.
|
||||||
|
|
||||||
|
@ -231,9 +229,6 @@ This value should always larger than **-m**, so you should always use this with
|
||||||
**--security-opt**=[]
|
**--security-opt**=[]
|
||||||
Security Options
|
Security Options
|
||||||
|
|
||||||
**--memory-swappiness**=""
|
|
||||||
Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100.
|
|
||||||
|
|
||||||
**-t**, **--tty**=*true*|*false*
|
**-t**, **--tty**=*true*|*false*
|
||||||
Allocate a pseudo-TTY. The default is *false*.
|
Allocate a pseudo-TTY. The default is *false*.
|
||||||
|
|
||||||
|
@ -243,6 +238,11 @@ This value should always larger than **-m**, so you should always use this with
|
||||||
**--ulimit**=[]
|
**--ulimit**=[]
|
||||||
Ulimit options
|
Ulimit options
|
||||||
|
|
||||||
|
**--uts**=host
|
||||||
|
Set the UTS mode for the container
|
||||||
|
**host**: use the host's UTS namespace inside the container.
|
||||||
|
Note: the host mode gives the container access to changing the host's hostname and is therefore considered insecure.
|
||||||
|
|
||||||
**-v**, **--volume**=[]
|
**-v**, **--volume**=[]
|
||||||
Bind mount a volume (e.g., from the host: -v /host:/container, from Docker: -v /container)
|
Bind mount a volume (e.g., from the host: -v /host:/container, from Docker: -v /container)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue