What mapping is created by -p 8080:80 in docker run?
-p 8080:80
docker run
Container port 8080 is published to host port 80.
Host port 8080 is published to port 80 inside the container.
Ports 8080 and 80 are opened only between two containers.
Every port from 80 through 8080 is published.