address issue #404 in older docker for mac

More succinctly addressed issue #404 by directing the user to check for to the latest release candidate of Docker for Mac.
pull/538/head
Tim Brockman 2016-07-06 14:45:47 -04:00 committed by GitHub
parent 6232bb49fc
commit 96a939d885
1 changed files with 1 additions and 8 deletions

View File

@ -104,14 +104,7 @@ $ curl http://localhost:8080
Hello World!
```
**If you get a `Connection refused` message, your `DOCKER_HOST` address may be the address of your Docker VM, not the localhost address.** Use the `docker-machine ip default` command to find the Docker VM address.
```shell
$ docker-machine ip default
192.168.1.100
$ curl 192.168.1.100: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).**
Lets now stop the container. In this example, our app was running as Docker process `2c66d0efcbd4`, which we looked up with `docker ps`: