I used this official guide to configure Docker on a computer running Windows 7:
https://docs.docker.com/windows/started/
I successfully pulled the image from the docker hub, and I can run my own docker image.
No. I'm stuck trying to start a web server and connect to docker in Windows. Apparently, for boot2dockerI can't get to the docker container the way I'm used to.
As soon as I added -p 3007:80to the command docker run, port forwarding appeared in the list of containers ( docker ps) as 0.0.0.0:3007 -> 80. And with -p 127.0.0.1:3007:80I get a more meaningful IP address. However, I cannot reach the container using a browser on a Windows host.
In addition, it docker inspectdoes not show the IP address for the running container (which also seems wrong).
I also tried to --net=hostno avail.
source
share