coolify icon indicating copy to clipboard operation
coolify copied to clipboard

Fix: Error response from daemon: all predefined address pools have been fully subnetted

Open peaklabs-dev opened this issue 4 months ago • 0 comments

Note

  • How do we make sure existing installs get this as well? This would require re-running the installation script and also restarting Docker - All containers would be offline shortly (not ideal) but there is no other way to fix this (at least I think so)
  • This change is fully backward compatible, as all new containers will start using this range and old containers will stay on the old range of IPs.

Changes

  • Introduced a much larger default docker network address pool - docker by default only allows 256 different /20 networks - well I ran out of networks today :).
  • I used the IP address range {"base":"10.0.0.0/8","size":24} because this is what Docker Swarm uses, I use it for clear security network separation (in my setups) and it provides the most usable networks of any private IP range. It allows for up to 65,536 different /24 networks, each with 254 usable IP addresses.

Issues

  • fix #3529

peaklabs-dev avatar Oct 14 '24 18:10 peaklabs-dev