Using Docker on Eckerd Networks - change default container IP Range

Unfortunately, one of our private nets uses the default docker range. The answer is to adjust the private IP addresses docker uses. 

This link explains what to do. Basically, you're just adding a line to /etc/docker/daemon.json and restarting the service.

You can configure the default bridge network by providing the bip option along with the desired subnet in the daemon.json (default location at /etc/docker/daemon.json on Linux) file as follows:


{
  "bip": "192.168.168.0/24"
}


Then restart the docker daemon (sudo systemctl restart docker on systemd based Linux operating systems).

Creation date: 7/8/2020 11:22 AM      Updated: 7/8/2020 11:30 AM