1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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 <richard@squarecows.com> (github: richarvey)

Docker-DCO-1.1-Signed-off-by: Richard Harvey <richard@squarecows.com> (github: SvenDowideit)
This commit is contained in:
Richard Harvey 2014-06-11 22:29:42 +01:00 committed by SvenDowideit
parent b3e80c6935
commit 2c5405f699

View file

@ -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