On Arch linux, using docker 24.0.2, when I start docker as a service like this:
$ systemctl start docker
it creates four new network routes:
$ ip route
....
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
172.18.0.0/16 dev docker_gwbridge proto kernel scope link src 172.18.0.1 linkdown
172.19.0.0/16 dev br-ff0cba0bb071 proto kernel scope link src 172.19.0.1 linkdown
192.168.0.0/20 dev br-0a4abef1c7bb proto kernel scope link src 192.168.0.1 linkdown
...
The last one of these -- 192.168.0.0/20 -- overlaps with some addresses on my local network. Once I start docker, I cannot access these machines, and I have to manually delete the bridges with brctl
.
How can I stop docker from creating these routes that overlap with addresses on my network?