1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Update python_web_app.rst

Fixed typo in the WEB_PORT command, missing sudo in front of docker command
This commit is contained in:
Ramon van Alteren 2013-08-30 00:37:47 +02:00
parent 230dc07d37
commit 559724ac35

View file

@ -86,7 +86,7 @@ http://0.0.0.0:5000/" in the log output.
.. code-block:: bash .. code-block:: bash
WEB_PORT=$(docker port $WEB_WORKER 5000) WEB_PORT=$(sudo docker port $WEB_WORKER 5000)
Look up the public-facing port which is NAT-ed. Find the private port Look up the public-facing port which is NAT-ed. Find the private port
used by the container and store it inside of the WEB_PORT variable. used by the container and store it inside of the WEB_PORT variable.