Update index.md

This commit is contained in:
John Mulhausen 2016-10-19 10:39:49 -07:00 committed by GitHub
parent c0c38cd990
commit 3532550607
1 changed files with 8 additions and 7 deletions

View File

@ -133,7 +133,9 @@ Run these commands to test if your versions of `docker`, `docker-compose`, and `
2. For something more adventurous, start a Dockerized web server.
`docker run -d -p 80:80 --name webserver nginx`
```
docker run -d -p 80:80 --name webserver nginx
```
If the image is not found locally, Docker will pull it from Docker Hub.
@ -142,7 +144,6 @@ Run these commands to test if your versions of `docker`, `docker-compose`, and `
![nginx home page](images/hello-world-nginx.png)
>**Note:** Early beta releases used `docker` as the hostname to build the URL. Now, ports are exposed on the private IP addresses of the VM and forwarded to `localhost` with no other host name set. See also, [Release Notes](release-notes.md) for Beta 9.
>
3. Run `docker ps` while your web server is running to see details on the webserver container.