How Do I Expose Multiple Ports With Docker?
I want to expose multiple ports to the machine’s interface. How to achieve this using a docker container?
For docker expose multiple ports, this is what you need to do:
docker run -p :
To expose multiple ports, simply provide multiple -p arguments:
docker run -p : -p :