By default Docker creates networks in the 172.17.0.1/16
range. However, we at ISW use that subnet for all our traffic. So we need to change this.
You can do this by editing the file /etc/docker/daemon.json
and adding the following:
/etc/docker/daemon.json
{ "bip": "192.168.200.1/18" }
This will change it from 172.17.0.1/16
to 192.168.200.1/18
. Now restart docker you typing ip a
should show you that the docker0
interface address has changed. Note: you might need to recreate your networks for them to change as well.