mirror of
https://github.com/docker/docs.git
synced 2026-03-31 00:08:55 +07:00
Merge pull request #7049 from albers/default-option
removed default --rm option from example build command
This commit is contained in:
@@ -27,7 +27,7 @@ quick access to a test container.
|
||||
|
||||
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
|
||||
the container's port 22 is mapped to:
|
||||
|
||||
Reference in New Issue
Block a user