hmgzg Posted March 29, 2022 Share Posted March 29, 2022 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! 1 Quote Link to comment
primeval_god Posted March 29, 2022 Share Posted March 29, 2022 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. Quote Link to comment
Hoopster Posted March 29, 2022 Share Posted March 29, 2022 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. Quote Link to comment
Rdhuff1985 Posted December 1, 2022 Share Posted December 1, 2022 exact issue I am having. has anyone resolved this? Quote Link to comment
Vr2Io Posted December 1, 2022 Share Posted December 1, 2022 (edited) 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, 2022 by Vr2Io Quote Link to comment
Rdhuff1985 Posted December 1, 2022 Share Posted December 1, 2022 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. Quote Link to comment
tjb_altf4 Posted December 2, 2022 Share Posted December 2, 2022 Remove the IP assignment for the vlan in network settings. Quote Link to comment
Recommended Posts
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.