I need to map the ports on the host to the ports on the container. I can achieve this by running the \"docker run\" command with the -p option. How do
\"docker run\"
-p
What you can do is to EXPOSE a list of ports on your Dockerfile and later run the command docker run -P your_app to publish all the ports exposed on the Dockerfile
EXPOSE
Dockerfile
docker run -P your_app