From a42573ca6a1e36263f83853f9bf8579e15558327 Mon Sep 17 00:00:00 2001 From: Ramon van Alteren Date: Fri, 30 Aug 2013 00:37:47 +0200 Subject: [PATCH] Update python_web_app.rst Fixed typo in the WEB_PORT command, missing sudo in front of docker command Upstream-commit: 559724ac35134ac3cced1159cf776b7ab7bdacc6 Component: engine --- components/engine/docs/sources/examples/python_web_app.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/docs/sources/examples/python_web_app.rst b/components/engine/docs/sources/examples/python_web_app.rst index 92cac00d18..8654ab5f19 100644 --- a/components/engine/docs/sources/examples/python_web_app.rst +++ b/components/engine/docs/sources/examples/python_web_app.rst @@ -86,7 +86,7 @@ http://0.0.0.0:5000/" in the log output. .. 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 used by the container and store it inside of the WEB_PORT variable.