Docker Community Forums

Share and learn in the Docker community.

How do I create a docker bridge to my local host eth0

Setup: Centos7

Running Docker CE
docker version 18.09.2, build 6247962

I want to setup a Docker bridge to eth0, so my docker containers are visible to my local network.
my eth0 has Ip: 192.168.0.50, I want to assign static IPs to my containers.

Is it possible, if so how?

if I want to use existing host bride br0, how can I use br0 in dockers?

sudo brctl show
bridge name bridge id STP enabled interfaces
br0 8000.b88584b608a6 yes eth0
docker0 8000.02425fea9011 no veth03fd172
virbr0 8000.5254005a53b3 yes virbr0-nic
[ms@sun centos7]$

Thanks in advance.

MS