Docker Community Forums

Share and learn in the Docker community.

Attach container to specified network bridge


(Redixin) #1

It is possible to do something like this

docker run --network=bridge --bridge=br13 --bridge=br14 ubuntu bash

and get container with eth0 and eth1 attached to br13 and br14


(Sven Dowideit) #2

Not using Docker directly (as far as i know).

i presume you could use https://github.com/jpetazzo/pipework to set something like this up.