Port forwarding in docker run
The -p flag can be used for forwarding a port from a container to the host.
docker run -p <host_port>:<container_port> <image>
The -p flag can be used for forwarding a port from a container to the host.
docker run -p <host_port>:<container_port> <image>