..

Make Docker use different IP ranges on Linux

May 15th, 2019 · 1 min read

In this post, you’ll find out how to configure the IP ranges that Docker uses for its networks.

TL;DR put this into /etc/docker/daemon.json.

{
"bip": "10.10.0.5/24",
"default-address-pools": [
{
"base": "10.11.0.0/16",
"size": 24
}
]
}

And restart Docker with sudo systemctl restart docker.