Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Docker network best practice

Featured Replies

Hi,

 

Recently started with Unraid and already running some docker containers, but I was wondering about the docker networks?

I now I can run them as host, bridge, custom bridge and macvlan/ipvlan (optional on seperate interface/VLAN)

 

Ideal I would create a seperate VLAN for all my dockers, so they all have their own IP and because of the VLAN they can also talk to the host if needed, but I read on the forum this can cause crashes, is this true?

 

So what would be the best practice?

On 8/27/2021 at 10:57 AM, Kopernikus said:

I now I can run them as host, bridge, custom bridge and macvlan/ipvlan (optional on seperate interface/VLAN)

 

Ideal I would create a seperate VLAN for all my dockers, so they all have their own IP and because of the VLAN they can also talk to the host if needed,

...that is exactly how I do that.

Custom Bridge and VLANs.

Just remember, that when talking to the host (on an another VLAN) traffic goes via your Router...so your Router needs some extra ressources to spare.

 

On 8/27/2021 at 10:57 AM, Kopernikus said:

but I read on the forum this can cause crashes, is this true?

I*ve heard the same (can*t find the reference right now)...but AFAIR this is when a VM is attached to the same bridge.

I don*t use VMs or if so, like for my PBX, I pass through a real, dedicated NIC,

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.