Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Custom Docker Bridge w/ Fedora 22

I've been following the manual here, but I'm having trouble getting docker to use the new bridge.

I've added the following to /etc/default/docker and /etc/sysconfig/docker but as soon as I start the docker service it continues to use the docker0 bridge.

The established docker0 IP range blocks many internal IPs on my network. I simply want to configure it to use a 192.168.5.0/24 range.

$ netstat -r
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.5.0     0.0.0.0         255.255.255.0   U         0 0          0 bridge0

Custom Docker Bridge w/ Fedora 22

I've been following the manual here, but I'm having trouble getting docker to use the new bridge.

I've added the following to /etc/default/docker and /etc/sysconfig/docker but as soon as I start the docker service it continues to use the docker0 bridge.

The established docker0 IP range blocks many internal IPs on my network. I simply want to configure it to use a 192.168.5.0/24 range.

$ netstat -r
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.5.0     0.0.0.0         255.255.255.0   U         0 0          0 bridge0

Custom Docker Bridge w/ Fedora 22

I've been following the manual here, but I'm having trouble getting docker to use the new bridge.

I've added the following to /etc/default/docker and /etc/sysconfig/docker but as soon as I start the docker service it continues to use the docker0 bridge.

The established docker0 IP range blocks many internal IPs on my network. I simply want to configure it to use a 192.168.5.0/24 range.

$ netstat -r
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.5.0     0.0.0.0         255.255.255.0   U         0 0          0 bridge0