Docker Community Forums

Share and learn in the Docker community.

Docker0 bridge override


(Noel) #1

I have added the following to my install script to change the docker0 network as it conflicts with my companies network

service docker stop
ip link del docker0
echo 'DOCKER_OPTS="-bip"' >> /etc/default/docker
service docker start

However it does not seem to work. When I do docker network inspect “the bridge network id” it shows
> “Subnet”: “”,
> “Gateway”: ""
in the config section.
I have done cat on the /etc/default/docker file and it is present


I have little network experience, please help in pointing me to what i am doing wrong