changed deprecated -name option to --name
| ... | ... |
@@ -40,7 +40,7 @@ Build the image using: |
| 40 | 40 |
Then run it. You can then use `docker port` to find |
| 41 | 41 |
out what host port the container's port 22 is mapped to: |
| 42 | 42 |
|
| 43 |
- $ sudo docker run -d -P -name test_sshd eg_sshd |
|
| 43 |
+ $ sudo docker run -d -P --name test_sshd eg_sshd |
|
| 44 | 44 |
$ sudo docker port test_sshd 22 |
| 45 | 45 |
0.0.0.0:49154 |
| 46 | 46 |
|