Docker Port Mapping problem

I have added port mapping, as shown in figure

clipboard.png

apt install nginx
IP:9001,

curl 80

clipboard.png

I don"t know how to add port mapping

May.14,2021

Why not directly use the nginx image


check ubuntu's firewall ufw status

Menu