Docker Community Forums

Share and learn in the Docker community.

IP-Range for container


(Lebowski) #1

Hi,

i changed /etc/docker/daemon.json to

{
    "bip": "172.32.0.1/16"
}

so docker0 bridge got the address 172.32.0.1, that’s ok.

Starting a container, the container still get IP’s like 172.17.0.2. How can i change the IP-Range for containers?

Thanks, Martin