mirror of
https://github.com/docker/cli.git
synced 2026-09-28 02:06:53 -04:00
changed deprecated -rm option to --rm
changed deprecated -rm option to --rm Upstream-commit: 137f4b326ad1669cd562fa59d809f39d21b653fe Component: engine
This commit is contained in:
@@ -35,7 +35,7 @@ quick access to a test container.
|
||||
|
||||
Build the image using:
|
||||
|
||||
$ sudo docker build -rm -t eg_sshd .
|
||||
$ sudo docker build --rm -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