Problem using a Docker container with port exposure in Windows

0

I installed Docker on Windows these days but I'm having several issues while running my container. Even with it standing, I can not access the project through the browser using the IP of the docker-machine, this is the command I'm using to run the container.

docker run -it -d -v /homer/user/html:/usr/share/nginx/html -p 80:80 myimage

Does anyone have any idea what it might be? When accessing the browser, the message "CONNECTION_REFUSED" appears

    
asked by anonymous 27.02.2016 / 02:51

1 answer

1

Have you tried to get another port to see if it is spinning?

Example:

docker run -it -d -v /homer/user/html:/usr/share/nginx/html -p 3000:80 myimage
    
06.05.2016 / 17:32