docker run --publish-all myimage

Category: Docker

docker run --publish-all myimage

Auto-publish all EXPOSE'd ports to random host ports

Automatically maps all ports listed in EXPOSE in the Dockerfile to random available host ports.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.