Docker Community Forums

Share and learn in the Docker community.

Docker Compose Getting Started error


(Kobenauf) #1

The Docker Compose > Getting Started docs didn’t work for me on Windows 10. “Step 4: Build and run your app with Compose” says to open http://0.0.0.0:5000 or localhost:5000 in a browser. Neither worked. I kept getting:
This site can’t be reached
localhost refused to connect.
ERR_CONNECTION_REFUSED

The solution for me was at the very top of the docker cmd window:
docker is configured to use the default machine with IP 192.168.99.100

In a browser when I connected to http://192.168.99.100:5000, and it worked fine.


(Martín Coll) #2

why not use http://docker?


(Kobenauf) #3

I tried http://docker bu that also didn’t work.


(Martín Coll) #4

http://docker:5000? Did you undo your changes to the VM? Reboot?


(Kobenauf) #5

I didn’t try rebooting. (And yes, I did try the URL with the port.) I would try rebooting now, but I’ve already removed the getting started image and moved on to the main task I wanted to do with docker. Thanks for your input though. It might be helpful to someone else later.