Skip to content

Instantly share code, notes, and snippets.

@cruzzan
Created April 16, 2019 15:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cruzzan/ca27ad2be88e98e7d3e7b7466d0435bc to your computer and use it in GitHub Desktop.
Save cruzzan/ca27ad2be88e98e7d3e7b7466d0435bc to your computer and use it in GitHub Desktop.

Docker swarm network running out of IPs

These are just some articles that i came across while researching the issues with the core network on staging swarm running out of IPs.

  • Article about how to build networking in docker swarm.

https://success.docker.com/article/networking

  • Docker network/ip analisys util

https://github.com/docker/ip-util-check - This was recommended by some people in the docker slack community, but it basically only counted the IPs in use, as advertised by running containers. (As far as i could tell)

  • IPAM network driver

https://github.com/docker/libnetwork/blob/master/docs/ipam.md

Simmilar issues

  • Swarm tasks stuck in new state

moby/moby#35849

  • IP allocation issues after node crashed

moby/moby#31694

  • Swarm mode at scale

moby/moby#30820

@cruzzan
Copy link
Author

cruzzan commented Apr 16, 2019

I really recommend joining the Docker slack community. They are really helpful and a good source of advice :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment