Преглед изворни кода

Update port_redirection.rst

Fix flags
David Gageot пре 11 година
родитељ
комит
2a5e1abaa9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      docs/sources/use/port_redirection.rst

+ 1 - 1
docs/sources/use/port_redirection.rst

@@ -128,7 +128,7 @@ The ``client`` then links to the ``server``:
 .. code-block:: bash
 
     # Link
-    docker run -name client -link server:linked-server <image> <cmd>
+    docker run --name client --link server:linked-server <image> <cmd>
 
 ``client`` locally refers to ``server`` as ``linked-server``. The
 following environment variables, among others, are available on