Acess docker (bridge) from (non)default subnet


Recommended Posts

Hi!

 

I don't know if this is by design (probably) - but if so - how can I change this behavior.

 

My unraid server is in 192.168.0.0 subnet but I have also a second subnet in my network (192.168.1.0) - it's my WLAN subnet. If I'm trying to access any docker over this subnet it fails. There is no connection - the connection to the unraid-server itself works of course. I think it has to do with the bridge, because If I change the network from bridge to host - it works. But I don't want to change all my dockers to host-network.

 

Do I have manually add a route to the network settings or inside the dockers? Or am I missing something else?

 

Thank you very much.

 

Best regards

Stefan

 

 

 

 

 

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.