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.