Max 29 networks on a single docker node
Each world get (at least 1 network) and there is a limitation that one can have max 29 networks on a host. This results in a similar error message as this when trying to start the world : "failed to create network j-range_internal: Error response from daemon: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network"
Solutions:
- modify /etc/docker/daemon.json https://stackoverflow.com/questions/41609998/how-to-increase-maximum-docker-network-on-one-server
{
"default-address-pools": [
{
"base":"172.17.0.0/12",
"size":16
},
{
"base":"192.168.0.0/16",
"size":20
},
{
"base":"10.99.0.0/16",
"size":24
}
]
}
- Move to docker swarm mode (that uses overlay networks without this limitation), also works for single node
docker swarm init
- change the code of crl to use docker stack deploy instead of docker compose.
Edited by Jonas Karlsson