Docker Community Forums

Share and learn in the Docker community.

Docker-compose using openvswitch

Host OS: Centos 7.7
Docker application version: 1.13.1
docker-compose version 1.18.0, build 8dd22a9
docker-py version: 2.6.1
CPython version: 3.6.8
OpenSSL version: OpenSSL 1.0.2k-fips 26 Jan 2017

Im trying to use librenms’s pre-manufactured docker container “” with an OpenVSwitch virtual infrastructure.

I’ve been successful at working rsyslogd into a container using OVS as the virtual transport mechanism to isolate the docker container syslog traffic service onto a particular VLAN with some custom bash scripting - Dockerfile and “docker run” command as the basics and scripting the container run/interface and corresponding teardown commands when instantiating a new instance.

Now that I’ve found a pre-man’ed docker-compose package (librenms), I can’t find a method to tell docker-compose to not set up a default network and interface so I can connect the librenms containers to my OVS switch. my client wants to use OVS, so I can’t do a bridge-to-bridge connection from the docker/linux bridge to the OVS. What I’m really asking is how to use docker-compose to not install a network, so that I can script in an OVS interface using “ovs-docker” like I did with the “docker-run” command. Any ideas?