Update usingdocker.md

Minor rewording and removal of unnecessary apostrophe.
This commit is contained in:
averagehuman 2014-08-22 17:48:26 +01:00
parent 651f521e17
commit fe845c4da8
1 changed files with 2 additions and 2 deletions

View File

@ -156,9 +156,9 @@ In this case Docker has exposed port 5000 (the default Python Flask
port) on port 49155. port) on port 49155.
Network port bindings are very configurable in Docker. In our last Network port bindings are very configurable in Docker. In our last
example the `-P` flag is a shortcut for `-p 5000` that makes port 5000 example the `-P` flag is a shortcut for `-p 5000` that maps port 5000
inside the container to a high port (from the range 49000 to 49900) on inside the container to a high port (from the range 49000 to 49900) on
the local Docker host. We can also bind Docker container's to specific the local Docker host. We can also bind Docker containers to specific
ports using the `-p` flag, for example: ports using the `-p` flag, for example:
$ sudo docker run -d -p 5000:5000 training/webapp python app.py $ sudo docker run -d -p 5000:5000 training/webapp python app.py