How can I expose more than 1 port with Docker? - Stack Overflow
https://stackoverflow.com/questions/20845056/how-can-i-expose-more-than-1-port-with-docker
WEBOct 9, 2017 · 7 Answers. Sorted by: 1109. To expose just one port, this is what you need to do: docker run -p <host_port>:<container_port> To expose multiple ports, simply provide multiple -p arguments: docker run -p <host_port1>:<container_port1> -p <host_port2>:<container_port2> edited Aug 21, 2014 at 22:46. Chris Seymour. 84.6k …
DA: 97 PA: 67 MOZ Rank: 30