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
parent
6232bb49fc
commit
96a939d885
|
@ -104,14 +104,7 @@ $ curl http://localhost:8080
|
||||||
Hello World!
|
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.
|
**If you recieve a `Connection refused` message from Docker for Mac, ensure you are using the latest version of Docker (1.12 or later).**
|
||||||
|
|
||||||
```shell
|
|
||||||
$ docker-machine ip default
|
|
||||||
192.168.1.100
|
|
||||||
$ curl 192.168.1.100:8080
|
|
||||||
Hello World!
|
|
||||||
```
|
|
||||||
|
|
||||||
Let’s now stop the container. In this example, our app was running as Docker process `2c66d0efcbd4`, which we looked up with `docker ps`:
|
Let’s now stop the container. In this example, our app was running as Docker process `2c66d0efcbd4`, which we looked up with `docker ps`:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue