mirror of https://github.com/docker/cli.git
fix common misspell
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
91d0d25ee4
commit
c30d9d2fff
|
@ -516,7 +516,7 @@ feature](../userguide/networking/index.md)).
|
||||||
ENV <key>=<value> ...
|
ENV <key>=<value> ...
|
||||||
|
|
||||||
The `ENV` instruction sets the environment variable `<key>` to the value
|
The `ENV` instruction sets the environment variable `<key>` to the value
|
||||||
`<value>`. This value will be in the environment of all "descendent"
|
`<value>`. This value will be in the environment of all "descendant"
|
||||||
`Dockerfile` commands and can be [replaced inline](#environment-replacement) in
|
`Dockerfile` commands and can be [replaced inline](#environment-replacement) in
|
||||||
many as well.
|
many as well.
|
||||||
|
|
||||||
|
@ -646,7 +646,7 @@ guide](../userguide/eng-image/dockerfile_best-practices.md#build-cache) for more
|
||||||
|
|
||||||
> **Note**:
|
> **Note**:
|
||||||
> Whether a file is identified as a recognized compression format or not
|
> Whether a file is identified as a recognized compression format or not
|
||||||
> is done soley based on the contents of the file, not the name of the file.
|
> is done solely based on the contents of the file, not the name of the file.
|
||||||
> For example, if an empty file happens to end with `.tar.gz` this will not
|
> For example, if an empty file happens to end with `.tar.gz` this will not
|
||||||
> be recognized as a compressed file and **will not** generate any kind of
|
> be recognized as a compressed file and **will not** generate any kind of
|
||||||
> decompression error message, rather the file will simply be copied to the
|
> decompression error message, rather the file will simply be copied to the
|
||||||
|
|
|
@ -802,7 +802,7 @@ cgroup.
|
||||||
|
|
||||||
Assuming the daemon is running in cgroup `daemoncgroup`,
|
Assuming the daemon is running in cgroup `daemoncgroup`,
|
||||||
`--cgroup-parent=/foobar` creates a cgroup in
|
`--cgroup-parent=/foobar` creates a cgroup in
|
||||||
`/sys/fs/cgroup/memory/foobar`, wheras using `--cgroup-parent=foobar`
|
`/sys/fs/cgroup/memory/foobar`, whereas using `--cgroup-parent=foobar`
|
||||||
creates the cgroup in `/sys/fs/cgroup/memory/daemoncgroup/foobar`
|
creates the cgroup in `/sys/fs/cgroup/memory/daemoncgroup/foobar`
|
||||||
|
|
||||||
This setting can also be set per container, using the `--cgroup-parent`
|
This setting can also be set per container, using the `--cgroup-parent`
|
||||||
|
|
|
@ -40,7 +40,7 @@ You can specify the IP address you want to be assigned to the container's interf
|
||||||
$ docker network connect --ip 10.10.36.122 multi-host-network container2
|
$ docker network connect --ip 10.10.36.122 multi-host-network container2
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use `--link` option to link another container with a prefered alias
|
You can use `--link` option to link another container with a preferred alias
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker network connect --link container1:c1 multi-host-network container2
|
$ docker network connect --link container1:c1 multi-host-network container2
|
||||||
|
|
|
@ -110,7 +110,7 @@ For information on connecting a container to a network, see the ["*Docker networ
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
### Assign name and allocate psuedo-TTY (--name, -it)
|
### Assign name and allocate pseudo-TTY (--name, -it)
|
||||||
|
|
||||||
$ docker run --name test -it debian
|
$ docker run --name test -it debian
|
||||||
root@d6c0fe130dba:/# exit 13
|
root@d6c0fe130dba:/# exit 13
|
||||||
|
|
Loading…
Reference in New Issue