Consider:
docker run -p 5000:5000 -v /host/:/host appimage
he forwards from 5,000 to 50,000
even in a few:
docker run -p 5000:5000 -p 5001:5001 -v /host/:/host appimage
What I want to know:
docker run -p allports:allports
Is there any command to forward all ports in the container? Because in my case, I am running a flask application. For testing purposes, I want to run several instances of jars. Therefore, for each instance of the flag, I want to run it in different ports. This automatic multi-port forwarding will help.
source share