mirror of https://github.com/docker/cli.git
Fix bunch of typos
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
parent
dfcd777cbc
commit
a17a06204d
|
@ -1273,7 +1273,7 @@ Server containers or Hyper-V containers. For Hyper-V containers, the engine
|
||||||
is, for architectural reasons, unable to create the directory if it does not
|
is, for architectural reasons, unable to create the directory if it does not
|
||||||
previously exist. For Windows Server containers, the directory is created
|
previously exist. For Windows Server containers, the directory is created
|
||||||
if it does not exist. Hence, for consistency between Windows Server and
|
if it does not exist. Hence, for consistency between Windows Server and
|
||||||
Hyper-V containers, it is strongly recommended to include an explict instruction
|
Hyper-V containers, it is strongly recommended to include an explicit instruction
|
||||||
to create the directory in the Dockerfile. For example:
|
to create the directory in the Dockerfile. For example:
|
||||||
|
|
||||||
# escape=`
|
# escape=`
|
||||||
|
|
|
@ -58,7 +58,7 @@ Use the `--rotate` flag to generate a new join token for the specified role:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker swarm join-token --rotate worker
|
$ docker swarm join-token --rotate worker
|
||||||
Succesfully rotated worker join token.
|
Successfully rotated worker join token.
|
||||||
|
|
||||||
To add a worker to this swarm, run the following command:
|
To add a worker to this swarm, run the following command:
|
||||||
|
|
||||||
|
|
|
@ -151,7 +151,7 @@ two memory nodes.
|
||||||
Limit the containers Real Time CPU usage. This flag tells the kernel to limit the amount of time in a given CPU period Real Time tasks may consume. Ex:
|
Limit the containers Real Time CPU usage. This flag tells the kernel to limit the amount of time in a given CPU period Real Time tasks may consume. Ex:
|
||||||
Period of 1,000,000us and Runtime of 950,000us means that this container could consume 95% of available CPU and leave the remaining 5% to normal priority tasks.
|
Period of 1,000,000us and Runtime of 950,000us means that this container could consume 95% of available CPU and leave the remaining 5% to normal priority tasks.
|
||||||
|
|
||||||
The sum of all runtimes across containers cannot exceed the amount alotted to the parent cgroup.
|
The sum of all runtimes across containers cannot exceed the amount allotted to the parent cgroup.
|
||||||
|
|
||||||
**--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)
|
||||||
|
|
|
@ -205,7 +205,7 @@ to the quota you specify.
|
||||||
Limit the containers Real Time CPU usage. This flag tells the kernel to limit the amount of time in a given CPU period Real Time tasks may consume. Ex:
|
Limit the containers Real Time CPU usage. This flag tells the kernel to limit the amount of time in a given CPU period Real Time tasks may consume. Ex:
|
||||||
Period of 1,000,000us and Runtime of 950,000us means that this container could consume 95% of available CPU and leave the remaining 5% to normal priority tasks.
|
Period of 1,000,000us and Runtime of 950,000us means that this container could consume 95% of available CPU and leave the remaining 5% to normal priority tasks.
|
||||||
|
|
||||||
The sum of all runtimes across containers cannot exceed the amount alotted to the parent cgroup.
|
The sum of all runtimes across containers cannot exceed the amount allotted to the parent cgroup.
|
||||||
|
|
||||||
**-d**, **--detach**=*true*|*false*
|
**-d**, **--detach**=*true*|*false*
|
||||||
Detached mode: run the container in the background and print the new container ID. The default is *false*.
|
Detached mode: run the container in the background and print the new container ID. The default is *false*.
|
||||||
|
|
|
@ -62,7 +62,7 @@ a running container with kernel memory initialized.
|
||||||
Limit the containers Real Time CPU usage. This flag tells the kernel to limit the amount of time in a given CPU period Real Time tasks may consume. Ex:
|
Limit the containers Real Time CPU usage. This flag tells the kernel to limit the amount of time in a given CPU period Real Time tasks may consume. Ex:
|
||||||
Period of 1,000,000us and Runtime of 950,000us means that this container could consume 95% of available CPU and leave the remaining 5% to normal priority tasks.
|
Period of 1,000,000us and Runtime of 950,000us means that this container could consume 95% of available CPU and leave the remaining 5% to normal priority tasks.
|
||||||
|
|
||||||
The sum of all runtimes across containers cannot exceed the amount alotted to the parent cgroup.
|
The sum of all runtimes across containers cannot exceed the amount allotted to the parent cgroup.
|
||||||
|
|
||||||
**--cpuset-cpus**=""
|
**--cpuset-cpus**=""
|
||||||
CPUs in which to allow execution (0-3, 0,1)
|
CPUs in which to allow execution (0-3, 0,1)
|
||||||
|
|
Loading…
Reference in New Issue