浏览代码

Fixed 127.0.0.0 typo in cli.rst

James Turnbull 11 年之前
父节点
当前提交
dcf4633e95
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/sources/commandline/cli.rst

+ 1 - 1
docs/sources/commandline/cli.rst

@@ -637,7 +637,7 @@ using the container, but inside the current working directory.
 
 .. code-block:: bash
 
-    docker run -p 127.0.0.0:80:8080 ubuntu bash
+    docker run -p 127.0.0.1:80:8080 ubuntu bash
 
 This binds port ``8080`` of the container to port ``80`` on 127.0.0.1 of the
 host machine. :ref:`port_redirection` explains in detail how to manipulate ports