Docker Community Forums

Share and learn in the Docker community.

Publish Port Range

(Dylangrafmyre) #1

You should be able to publish a port range in your stack file or under the service create UI.

Just like in any docker-compose.yml:

    - "20:20"
    - "21:21"
    - "64000-64100:64000-64100"

This is very painful and unnecessary to list each individual port in the range within the docker-cloud.yml or the service create port UI.