March 29, 20224 yr 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!
March 29, 20224 yr 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.
March 29, 20224 yr 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? In Settings-->Docker have you defined the network (in my system the VLAN is br0.3)? I prefer to manually assign IP addresses on the VLAN to my docker containers so I am not using a DHCP pool.
December 1, 20223 yr 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 December 1, 20223 yr by Vr2Io
December 1, 20223 yr 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.
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.