From 22dd81c46952e69737a272fecda538ae531359b9 Mon Sep 17 00:00:00 2001 From: Richard Harvey Date: Wed, 11 Jun 2014 22:29:42 +0100 Subject: [PATCH 1/2] 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) Upstream-commit: 2c5405f699c308eee0cfc87ec6dd8aa3bce1b2ef Component: engine --- components/engine/docs/sources/userguide/usingdocker.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/engine/docs/sources/userguide/usingdocker.md b/components/engine/docs/sources/userguide/usingdocker.md index 96aa7d52e3..8150573aa5 100644 --- a/components/engine/docs/sources/userguide/usingdocker.md +++ b/components/engine/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 From fa879cab4298e659934eeb2c1ec2b5599bbeef67 Mon Sep 17 00:00:00 2001 From: SvenDowideit Date: Tue, 17 Jun 2014 10:38:53 +1000 Subject: [PATCH 2/2] fixup small formatting Docker-DCO-1.1-Signed-off-by: SvenDowideit (github: SvenDowideit) Upstream-commit: 7e9fbbba1ca4682d3645c410636dc7c78d38c769 Component: engine --- components/engine/docs/sources/userguide/usingdocker.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/engine/docs/sources/userguide/usingdocker.md b/components/engine/docs/sources/userguide/usingdocker.md index 8150573aa5..54c094bfa9 100644 --- a/components/engine/docs/sources/userguide/usingdocker.md +++ b/components/engine/docs/sources/userguide/usingdocker.md @@ -184,12 +184,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. +> 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 +> In this case you'd browse to http://192.168.59.103:49155 for the above example. ## A Network Port Shortcut