Change the default 172.17.0.0/16 network.
Add DOCKER_OPTS=“–bip=10.0.0.10/24” to /etc/docker/docker.io and reboot.
DOCKER_OPTS="--bip=10.0.0.10/24"
Check the IP:
ip addr | grep docker 8: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default inet 10.0.0.10/24 brd 10.0.0.0 scope global docker0
or
ifconfig docker0 docker0 Link encap:Ethernet HWaddr 56:84:7a:fe:97:99 inet addr:10.0.0.10 Bcast:0.0.0.0 Mask:255.255.0.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)