Docker Community Forums

Share and learn in the Docker community.

Docker swarm error="failed to allocate network IP for task

Hello Team,

I would like to ask for assistance. I have swarm, 1 manager, and 1 worker, I got error from below, we of course use overlay driver subnet network named : core, I created new network subnet /24 core2 and I managed to get running service with container, but I am not able to ping services from core subnet. Is it possible to get routing between two overlay networks, core : and core1 : In our cluster we have around 135 containers.

Is there way to clear not used but allocated IP addresses in swarm ?

level=error msg=“task allocation failure” error="failed to allocate network IP for task

Our Docker is 19.03 ver.