Bridge Networks in Docker


dingsda

Recommended Posts

Hello Forum.

This is my first post as I'm using Unraid for three days now :).

I already had the issue, that i couldn't copy some specific files to the share, and I found the solution here in the forum: Never use BTRFS in the Array :) It works since I have change to XFS.

 

But now I have a second Problem to which I can't find any answer here :(

 

I'm using 5 NIC's, it's important for me to separate some docker container to a specific nic. So I created 4 bridges: br1-4. Unraid is accessible by all 5 IP-Adresses, it works. I tested it also with some VM's, each bridge is working.

 

My problem is, I can't choose them for docker-containers, only for VM's.

This is what I see on creation of a new VM:

 

grafik.png.c6b1efb6b5815cd8983e1c43bdeee64b.png

 

and this is what I see on creation of a new Docker container:

grafik.png.219f36796e0b880c81307b040c75dd66.png

 

and this is my configuration:

grafik.thumb.png.142423d67a13fc54d849e8a1551f7415.png

 

As I thought, this is a bug, I contacted the support of Unraid. But unfortunately the Answer was, I have to use the forum to find an answer. I tried it, read about 60 topcis, but I couldn't find any information about this behavior.

 

Do someone know this problem, or have I misconfigured something?

 

Thank you very much

 

dd

 

Link to comment

You can only use 1 network within Docker if they share the same gateway or subnet.  I ran into this issue myself when trying to dedicate one NIC to just a single container.  The response I got was to use a different gateway/subnet.  I still haven't tried it but it's on my todo list.  I know it was a real bummer for me.

 

This is where that was discussed:

 

 

 

Edited by civic95man
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.