March 12, 20197 yr Hi, I'm running containers (Docker) on all three docker networks: br0 (macvlan), host or bridge. The containers running on host or bridge docker network use port-mapping and the host's ip (10.1.1.99 for example). Those containers can 'talk' to each other and they can 'talk' to the host as expected. But the containers running on br0 (macvlan) network are isolated from the host or containers running on host or bridge networks. THIS IS NOT A BUG, BUT SECURITY FEATURE. That said in some cases you might want to able to communicate between br0 and the host. There are two possible solutions: 1. Using "Macvlan 802.1q Trunk Bridge Mode" where the host and br0 use different VLANs and routing is provided by external router and your switch should support VLANs. This is the preferred method because provides the best security controls, but setting it up correctly is not as easy. 2. Creating Macvlan interface on the host itself. This is quite simple. Here is an example: http://blog.oddbit.com/2018/03/12/using-docker-macvlan-networks/ I have not tested it under Unraid, but I don't see any reason why should not work. The 'difficult' part would be to make the new Macvlan host interface and routing persistent. My questions are: 1. Is it possible to create persistent Macvlan interface for Unraid host? 2. Are there other Unraid users interested in 'feature' like this? (build-in, plug-in or user-script?) Thank you, SAL-e PS. Currently running Unraid 6.6.7.
March 12, 20197 yr Very much interested in this ability. mprasil's Bitwarden container, for example, requires both a reverse proxy and to be on the bridge network, yet my letsencrypt container and all others need to be on br0. I've been trying to use my 2nd NIC as a workaround, so far unsuccessfully.
February 22, 20206 yr This should be taken care of within the rules try this maybe? https://www.reddit.com/r/unRAID/comments/83ngly/docker_container_network_setting/
February 22, 20206 yr On 2/21/2020 at 2:21 PM, maciekish said: Any news on this please? I need it also. Available in Unraid 6.8.2
February 22, 20206 yr I can confirm the new setting to allow custom networks to communicate with host fixes the issue.
April 2, 20206 yr On 2/22/2020 at 7:41 AM, maciekish said: I can confirm the new setting to allow custom networks to communicate with host fixes the issue. Can someone please tell me where this new setting is in Unraid 6.8.2? I appear to be missing a step (or several) in having br0 communicate to bridge and host
April 2, 20206 yr Community Expert 7 minutes ago, Moose_Flunky said: Can someone please tell me where this new setting is in Unraid 6.8.2? I appear to be missing a step (or several) in having br0 communicate to bridge and host Settings > Docker Docker service must be stopped to make changes, Advanced View toggle (top right) must be enabled for setting to be visible.
April 2, 20206 yr 18 hours ago, tjb_altf4 said: Settings > Docker Docker service must be stopped to make changes, Advanced View toggle (top right) must be enabled for setting to be visible. Thank you! Worked like a charm!
October 14, 20223 yr On 2/22/2020 at 7:52 AM, Magicmissle said: This should be taken care of within the rules try this maybe? https://www.reddit.com/r/unRAID/comments/83ngly/docker_container_network_setting/ The content of this is deleted...does anyone know what setting to change? I also cannot get a br0 container to talk to a bridge container. I had it working and now can't remember the fix
October 15, 20223 yr Author On 10/13/2022 at 6:34 PM, NeoMatrixJR said: The content of this is deleted...does anyone know what setting to change? I also cannot get a br0 container to talk to a bridge container. I had it working and now can't remember the fix
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.