Containers with macvlan network AND bridge

Discussion in 'Docker and Containers' started by iceisfun, Oct 19, 2019.

  1. iceisfun

    iceisfun New Member

    Jul 19, 2014
    Likes Received:
    I have a number of vlans and want to spin up containers that provide vlan specific services, this works awesome and is super easy with Docker.

    Now I want to also drop that container on the bridge 172.17/16 network and pull data with telegraf, this works with an error when I try to add the bridge, the containers default gateway is still the macvlan network however when I restart the container with the invalid network configuration it will not start until I remove the bridge, start the container then reattach the bridge.

    So I tried adding a different bridge network that overlaps the 172.17/16 space without a gateway and that does not work

    I can work this out so each container has only one network or remove gateways from other networks?

    How are other people setting stuff like this up?
Similar Threads: Containers macvlan
Forum Title Date
Docker and Containers cpuset-cpus to Constrain Docker Containers Nov 4, 2017
Docker and Containers Best way to stop all docker containers on a host Oct 11, 2017
Docker and Containers Docker on different platforms, running containers differently? Jun 27, 2017
Docker and Containers VMware Integrated Containers Jun 16, 2017
Docker and Containers Docker pause / unpause groups of containers based on Image May 24, 2017

Share This Page