diff --git a/machine/examples/aws.md b/machine/examples/aws.md index 080463cd3c..1201652ae0 100644 --- a/machine/examples/aws.md +++ b/machine/examples/aws.md @@ -182,7 +182,7 @@ other machine): eval $(docker-machine env -u) docker container ls -a ``` - + 3. Reset aws-sandbox as the active docker machine: ```bash @@ -196,7 +196,7 @@ other machine): > container on another port, update the security group to reflect that. In this example, the `-p` option is used to expose port 80 from the `nginx` - container and make it accessible on port `8000` of the `aws-sandbox` host. + container and make it accessible on port `8000` of the `aws-sandbox` host: ```bash $ docker run -d -p 8000:80 --name webserver kitematic/hello-world-nginx @@ -211,9 +211,9 @@ other machine): ``` In a web browser, go to `http://:8000` to bring up the webserver - home page. You got the `` from the output of the `docker-machine ip - ` command you ran in a previous step. Use the port you exposed in - the `docker run` command. + home page. You got the `` from the output of the `docker-machine ip ` + command you ran in a previous step. Use the port you exposed in the + `docker run` command. ![nginx webserver](../img/nginx-webserver.png)