Merge pull request #5805 from joelhandwell/patch-2
changed deprecated -name option to --name
This commit is contained in:
commit
343c24a5fa
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ Build the image using:
|
|||
Then run it. You can then use `docker port` to find
|
||||
out what host port the container's port 22 is mapped to:
|
||||
|
||||
$ sudo docker run -d -P -name test_sshd eg_sshd
|
||||
$ sudo docker run -d -P --name test_sshd eg_sshd
|
||||
$ sudo docker port test_sshd 22
|
||||
0.0.0.0:49154
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue