0
I have Docker installed in windows 10. When running Nginx I can access the address http://localhost:8080/. However, when using the command below:
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' nome_container
The Docker displays ip 172.17.0.2. If I try to access Nginx by that address, you will not find the page. This is happening with container creating from dotnet images even following all steps of microsoft tutorial. Any suggestions that it might be happening?
I suggest you carefully read the community guideline on how to create a good question. Enter more details about your problem and your question, enter the error logs among others.
– user148754
Thanks Thiago for the tip. Thanks!!
– Suelio Pontes Barrozo
I suggest you better understand the network configuration Docker: http://stack.developer.expert/appendix/docker/rede.html
– Hildeberto
You tried to access the ip along with the port ? in case 172.17.0.2:8080
– Matheus Barbosa