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.

issue configuring vlan in docker

Featured Replies

Hi,

 

I created the vlan 10. I can use this new interface in VMs but in the configuration of dockers doesn't appear the interface bri0.10. What I doing wrong?  Thank you in advance for the help!

 

image.png.17d938c8b85840642ac13962e37d9ab8.png

 

image.thumb.png.764a868f7196c3df4116dff615fbc309.png

 

 

I dont use vlans myself so i could be wrong, but i dont believe that real networks are by default available as interfaces for a docker container. I think you would need to use the docker network create command to create a custom macvlan network that is attached to br0.10 for your containers to connect to. 

9 hours ago, hmgzg said:

in the configuration of dockers doesn't appear the interface bri0.10

In Settings-->Network have you enabled the VLAN?

image.thumb.png.204c17f967bc7cfa0e981980a7fb9332.png

 

In Settings-->Docker have you defined the network (in my system the VLAN is br0.3)?

image.thumb.png.78d8a26a9db5b760e4eb5bcd4ae64de5.png

 

I prefer to manually assign IP addresses on the VLAN to my docker containers so I am not using a DHCP pool.

  • 8 months later...

exact issue I am having. has anyone resolved this?

5 hours ago, Rdhuff1985 said:

exact issue I am having. has anyone resolved this?

As Hoopster reply, you need config the IP_subnet and gateway in corresponding VLAN interface when you start docker service, then you will able to assign to docker.

Edited by Vr2Io

9 hours ago, Vr2Io said:

As Hoopster reply, you need config the IP_subnet and gateway in corresponding VLAN interface when you start docker service, then you will able to assign to docker.

I have tried it both ways, multiple times, and sometimes at the same time. I've created multiple vlans at once with different settings in each, and no matter what, they are not showing up in network select for the containers.

  • Community Expert

Remove the IP assignment for the vlan in network settings.

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.