Browse code

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)

Richard Harvey authored on 2014/06/12 06:29:42
Showing 1 changed files
... ...
@@ -183,6 +183,14 @@ see the application.
183 183
 
184 184
 Our Python application is live!
185 185
 
186
+> **Note:**
187
+> 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.
188
+> 
189
+>     $ boot2docker ip
190
+>     The VM's Host only interface IP address is: 192.168.59.103
191
+> 
192
+> In this case you'd browse to http://192.168.59.103:49155 for the above example
193
+
186 194
 ## A Network Port Shortcut
187 195
 
188 196
 Using the `docker ps` command to return the mapped port is a bit clumsy so