From c45c16cead684700192f499ce942a52a67c8df1d Mon Sep 17 00:00:00 2001 From: Mazz Mosley Date: Wed, 1 Jul 2015 15:57:27 +0100 Subject: [PATCH] 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 --- docs/index.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/index.md b/docs/index.md index 24ed10270..e4366f465 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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 | * Restarting with stat -The web app should now be listening on port 5000 on your Docker daemon host (if -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: +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. + +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.`