Docker Community Forums

Share and learn in the Docker community.

Docker Swarm: Any limit on number of exposed ports?

Hi,

We’re running a number of services on Docker Swarm in the last couple of months.
Recently, we encountered a strange issue: Every new service which exposes port enters NEW state and it cannot be scheduled. If we remove the exposed ports definition, the service works fine.

I wonder whether there is any limitation on the number of ports a Swarm cluster can expose? I’ve never found this information anywhere.

Thanks in advance!