Docker Binds nginx Port Not Accessible Outside

  docker, question

I am a beginner of docker and use docker in window environment.
According to the first docker book, learn the Docker port mapping here.
Docker port was used to check that the port mapping is mapped to 0.0.0.0:32769
图片描述
图片描述

If it is curlocalhost: 32769
The normal reaction is: I played some English myself.

-p 80Not used correctly, should be-p 8080:80. Map local ports to container ports. Then access localhost:8080 locally. If you want docker to automatically assign ports, use uppercase P,-PThere is no need to add a port number after it.