I\'m new to Docker and trying to make a demo Rails app. I made a dockerfile that looks like this:
FROM ruby:2.2 MAINTAINER marko@codeship.com # Install apt
I had the same problem. I was using Docker Toolbox on Windows Home. Instead of localhost I had to use http://192.168.99.100:8080/.
localhost
http://192.168.99.100:8080/
You can get the correct IP address using the command:
docker-machine ip
The above command returned 192.168.99.100 for me.
192.168.99.100