Docker Community Forums

Share and learn in the Docker community.

Setting the subnet of the auto generated docker_gwbridge bridge network

(Timgriffiths) #1

When you first create a overlay network on any docker host it will automatically create a bridge network called docker_gwbridge, and then each container you attach to your overlay network get’s an interface to this bridge netowrk which is great.

My problem is i can’t see to control what subnet this docker_gmbridge network is created on and it conflicts with one of our internal networks.

I did find this github issue but i was wondering if there is any other way of configuring this in the daemon instead of manually hacking this on our nodes?

(Nathan Le Claire) #2

Would docker daemon --bip help?

--bip                                    Specify network bridge IP

(Timgriffiths) #3

I already have this set, it seems to only affect the default engine bridge ie docker0