Browse code

changed deprecated -name option to --name

changed deprecated -name option to --name

Joel Handwell authored on 2014/05/15 05:24:08
Showing 1 changed files
... ...
@@ -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