mirror of https://github.com/docker/docs.git
Merge pull request #7049 from albers/default-option
removed default --rm option from example build command
This commit is contained in:
commit
4ae27be2cd
|
@ -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 New Issue