Changing Output network on Docker


Recommended Posts

Hello :)

 

I have 3 NIC on my Unraid server and they have each one different network :

- The first for GUI

- The second for trust traffic

- The third for untrust traffic

 

All is okay and running on my VM's.

 

But by default, all my docker contenairs are on the first NIC (GUI).

 

I've already create custom docker network.

 

For example :

network_download : 172.20.0.0

network_tools : 172.21.0.0

 

I have been doing research since this morning but i didn't find the solution yet.

How should i proceed to use the second NIC as trust_traffic for some contenairs, and untrust_traffic for the other ?

 

 

Thanks !

 

ksnip_20220606-183032.png

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.