Docker on dedicated NIC


Recommended Posts

Update.

 

Managed to achieve isolating Docker/VMs in the end thanks to the following threads:

 

 

 

Essentially your second/third/forth NIC needs to be set as follows in UnRAID's network settings:

 

UnRAID Network Settings

Enable bonding: No

Enable bridging: No

IPv4 address assignment: None

 

UnRAID Docker Settings (Example) - Use your own IP ranges.

Subnet: 10.10.2.0/24

Gateway: 10.10.2.1

DHCP pool: 10.10.2.100/27  (32 hosts)

 

Then in each of your docker containers you need to pick eth1 (or br1 if you picked 'Enable Bridging' = Yes above).

Then add a fixed IP if you want, otherwise it'll be set an IP based on the range set above.

 

Now all my Dockers can communicate with each other, the outside world and UnRAID (and vice-versa)!

 

 

 

Edited by Interstellar
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.