mirror of https://github.com/docker/cli.git
Fix flag names
This commit is contained in:
parent
983c74aced
commit
faeae5d7b7
|
@ -103,7 +103,7 @@ interactive cases.
|
||||||
|
|
||||||
## Container Identification
|
## Container Identification
|
||||||
|
|
||||||
### Name (–name)
|
### Name (–-name)
|
||||||
|
|
||||||
The operator can identify a container in three ways:
|
The operator can identify a container in three ways:
|
||||||
|
|
||||||
|
@ -190,7 +190,7 @@ localhost interface.
|
||||||
$ # use the redis container's network stack to access localhost
|
$ # use the redis container's network stack to access localhost
|
||||||
$ docker run --rm -ti --net container:redis example/redis-cli -h 127.0.0.1
|
$ docker run --rm -ti --net container:redis example/redis-cli -h 127.0.0.1
|
||||||
|
|
||||||
## Clean Up (–rm)
|
## Clean Up (–-rm)
|
||||||
|
|
||||||
By default a container's file system persists even after the container
|
By default a container's file system persists even after the container
|
||||||
exits. This makes debugging a lot easier (since you can inspect the
|
exits. This makes debugging a lot easier (since you can inspect the
|
||||||
|
|
Loading…
Reference in New Issue