asp.net-docker-extensions

localhost not working docker windows 10

北城余情 提交于 2019-11-29 07:32:54
I am using VS2017 docker support. VS created DockerFile for me and when I build docker-compose file, it creates the container and runs the app on 172.x.x.x IP address. But I want to run my application on localhost. I did many things but nothing worked. Followed the docker docs as a starter and building microsoft sample app . The second link is working perfectly but I get HTTP Error 404 when tried the first link approach. Any help is appreciated. In order to access the example posted on Docker Docs, that you pointed out as not working, follow the below steps, 1 - List all the running docker

localhost not working docker windows 10

半城伤御伤魂 提交于 2019-11-28 01:04:46
问题 I am using VS2017 docker support. VS created DockerFile for me and when I build docker-compose file, it creates the container and runs the app on 172.x.x.x IP address. But I want to run my application on localhost. I did many things but nothing worked. Followed the docker docs as a starter and building microsoft sample app . The second link is working perfectly but I get HTTP Error 404 when tried the first link approach. Any help is appreciated. 回答1: In order to access the example posted on