By default, the Cisco Secure Firepower Management Center 1700 uses the IP 172.18.0.1/24 for docker. If your existing network uses IP addresses withing this network, docker should be reconfigured.
In this example we will change the base subnet used by docker from 172.18.0.0/24
to 172.28.0.0/24
. We keep the size of /27
for the individual subnets that Docker will create within the base subnet.
This can only be done in expert mode.
>
> expert
$ sudo /usr/local/sf/bin/change_docker_subnet.sh -b 172.28.0.0/24 -s 27
This will reboot Docker. Afterwards the IP change can be verified.
$ ip --brief a
lo UNKNOWN 127.0.0.1/22 ::1/128
eth2 DOWN
eth3 UP xx.xxx.xxx.xxx/24
eth0 DOWN
eth1 DOWN
docker0 DOWN 172.28.0.1/27