Docker could not find an available, non-overlapping IPv4 address pool

Docker by default seems to limit the number of networks to 31. I often exceed
this due to using Docker with most of my clients and side projects, which results in the following error:

could not find an available, non-overlapping IPv4 address pool among the defaults to
assign to the network

To fix this, I run:

docker network prune

There are other ways round this, such as using a different network range to the default, however pruning networks is the quickest and easiest fix.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.