5,322
edits
Line 174: | Line 174: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Then restart your docker: <code>sudo systemctl restart docker</code> and prune networks <code>docker network prune</code>.<br> | |||
This will force docker to assign subnets from 172.16.0.0/24 to 172.32.255.0/24 instead of 172.16.0.0/12 to 172.32.0.0/12.<br> | This will force docker to assign subnets from 172.16.0.0/24 to 172.32.255.0/24 instead of 172.16.0.0/12 to 172.32.0.0/12.<br> | ||
Thus it won't overflow to 192.168.0.0/24.<br> | Thus it won't overflow to 192.168.0.0/24.<br> |