THAILAND (HEAD OFFICE) & ESTONIA BRANCH

Change Docker default bridge IP address

Change Docker default bridge IP address

This article explains how to change the default bridge IP address

  1. Add –bip “YOUR_IP_ADDRESS” parameter at the end of line ExecStart= @/lib/systemd/system/docker.service
  2. sudo systemctl daemon-reload/etc/docker/daemon.json
  3. sudo systemctl start docker

Alternative solution

  1. Add or Edit /etc/docker/daemon.json
{
    “default-address-pools”:
        [
            {“base”:”10.1.0.0/16″,”size”:24}
        ]
}
by EmOne
%d bloggers like this: