Update hellonode.md

updating instructions for people using Docker Toolbox on OSX.
https://github.com/boot2docker/boot2docker/issues/412#issuecomment-145242855
This commit is contained in:
kevinll
2016-07-26 14:47:56 -07:00
committed by GitHub
parent 4dbe950d0a
commit c85d8150e9
+5 -1
View File
@@ -104,7 +104,11 @@ $ curl http://localhost:8080
Hello World!
```
**If you recieve a `Connection refused` message from Docker for Mac, ensure you are using the latest version of Docker (1.12 or later).**
**If you recieve a `Connection refused` message from Docker for Mac, ensure you are using the latest version of Docker (1.12 or later). Alternatively, if you are using Docker Toolbox on OSX, make sure you are using the VM's IP and not localhost :**
```shell
$ curl "http://$(docker-machine ip YOUR-VM-MACHINE-NAME):8080"
```
Lets now stop the container. In this example, our app was running as Docker process `2c66d0efcbd4`, which we looked up with `docker ps`: