mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
removed default --rm option from example build command
this line gave the false impression that containers are not removed unless you specify the --rm argument.
This commit is contained in:
parent
3b3f0fa085
commit
c5f55a233d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ quick access to a test container.
|
||||||
|
|
||||||
Build the image using:
|
Build the image using:
|
||||||
|
|
||||||
$ sudo docker build --rm -t eg_sshd .
|
$ sudo docker build -t eg_sshd .
|
||||||
|
|
||||||
Then run it. You can then use `docker port` to find out what host port
|
Then run it. You can then use `docker port` to find out what host port
|
||||||
the container's port 22 is mapped to:
|
the container's port 22 is mapped to:
|
||||||
|
|
Loading…
Reference in a new issue