Using Docker on Eckerd Networks - change default container IP Range

Creation date: 7/8/2020 11:22 AM    Updated: 4/15/2025 1:32 PM   docker networking
Unfortunately, one of our private nets uses the default docker range. The answer is to adjust the private IP addresses docker uses. 

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).

ITS - please see https://lowkey.aws.eckerd.edu/wiki/index.php/Docker