فهرست منبع

Merge pull request #1736 from ramonvanalteren/patch-1

Update python_web_app.rst
Andy Rothfusz 12 سال پیش
والد
کامیت
110d3b7794
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      docs/sources/examples/python_web_app.rst

+ 1 - 1
docs/sources/examples/python_web_app.rst

@@ -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.