Improve localhost & boot2docker info

Added a link to boot2docker for those unfamiliar with it.

http://0.0.0.0:5000 didn't resolve for me, however localhost:5000
did, so included reference to that.

Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
Mazz Mosley 2015-07-01 15:57:27 +01:00
parent d0c499329e
commit c45c16cead
1 changed files with 5 additions and 3 deletions

View File

@ -161,9 +161,11 @@ Now, when you run `docker-compose up`, Compose will pull a Redis image, build an
web_1 | * Running on http://0.0.0.0:5000/ web_1 | * Running on http://0.0.0.0:5000/
web_1 | * Restarting with stat web_1 | * Restarting with stat
The web app should now be listening on port 5000 on your Docker daemon host (if The web app should now be listening on port 5000 on your Docker daemon host. If http://0.0.0.0:5000 doesn't resolve, you can also try localhost:5000.
you're using Boot2docker, `boot2docker ip` will tell you its address). In a browser,
open `http://ip-from-boot2docker:5000` and you should get a message in your browser saying: If you're using [Boot2docker](https://github.com/boot2docker/boot2docker), then `boot2docker ip` will tell you its address and you can open `http://ip-from-boot2docker:5000` in a browser.
You should get a message in your browser saying:
`Hello World! I have been seen 1 times.` `Hello World! I have been seen 1 times.`