From 2c5405f699c308eee0cfc87ec6dd8aa3bce1b2ef Mon Sep 17 00:00:00 2001 From: Richard Harvey Date: Wed, 11 Jun 2014 22:29:42 +0100 Subject: [PATCH] Updated Viewing App when on OSX Added section to show how to get IP address and view running python app if the user is using boot2docker on OSX Docker-DCO-1.1-Signed-off-by: Richard Harvey (github: richarvey) Docker-DCO-1.1-Signed-off-by: Richard Harvey (github: SvenDowideit) --- docs/sources/userguide/usingdocker.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/sources/userguide/usingdocker.md b/docs/sources/userguide/usingdocker.md index 96aa7d52e3..8150573aa5 100644 --- a/docs/sources/userguide/usingdocker.md +++ b/docs/sources/userguide/usingdocker.md @@ -183,6 +183,14 @@ see the application. Our Python application is live! +> **Note:** +> If you have used boot2docker on OSX you'll need to get the IP of the virtual host instead of using localhost. You can do this by running the following in the boot2docker shell. +> +> $ boot2docker ip +> The VM's Host only interface IP address is: 192.168.59.103 +> +> In this case you'd browse to http://192.168.59.103:49155 for the above example + ## A Network Port Shortcut Using the `docker ps` command to return the mapped port is a bit clumsy so