Merge pull request #1411 from andrewmacgregor/doc-typos

Minor typos found while reading docs
This commit is contained in:
Andy Rothfusz 2013-08-05 13:22:53 -07:00
Родитель bdc0e8f825 ce97a71adf
Коммит d4fa619ed1
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -42,7 +42,7 @@ We attach to the new container to see what is going on. Ctrl-C to disconnect
BUILD_IMG=$(docker commit $BUILD_JOB _/builds/github.com/shykes/helloflask/master)
Save the changed we just made in the container to a new image called "_/builds/github.com/hykes/helloflask/master" and save the image id in the BUILD_IMG variable name.
Save the changes we just made in the container to a new image called "_/builds/github.com/hykes/helloflask/master" and save the image id in the BUILD_IMG variable name.
.. code-block:: bash
@ -60,13 +60,13 @@ Use the new image we just created and create a new container with network port 5
docker logs $WEB_WORKER
* Running on http://0.0.0.0:5000/
view the logs for the new container using the WEB_WORKER variable, and if everything worked as planned you should see the line "Running on http://0.0.0.0:5000/" in the log output.
View the logs for the new container using the WEB_WORKER variable, and if everything worked as planned you should see the line "Running on http://0.0.0.0:5000/" in the log output.
.. code-block:: bash
WEB_PORT=$(docker port $WEB_WORKER 5000)
lookup the public-facing port which is NAT-ed store the private port used by the container and store it inside of the WEB_PORT variable.
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.
.. code-block:: bash
@ -74,7 +74,7 @@ lookup the public-facing port which is NAT-ed store the private port used by the
curl http://127.0.0.1:$WEB_PORT
Hello world!
access the web app using curl. If everything worked as planned you should see the line "Hello world!" inside of your console.
Access the web app using curl. If everything worked as planned you should see the line "Hello world!" inside of your console.
**Video:**