зеркало из https://github.com/microsoft/docker.git
Merge pull request #2521 from jamtur01/porttypo
Fixed 127.0.0.0 typo in cli.rst
This commit is contained in:
Коммит
f6b4a1ec95
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче