Communication Between Two Custom Docker Networks


2 posts in this topic Last Reply

Recommended Posts

Greetings,

I have two custom docker networks. One is the normal br0 network and the other is one setup for reverse proxy called proxynet. Proxynet is setup following SpaceInvaderOne's videos about reverse proxy. So I have my home assistant docker running on the reverse proxy so that I can access my dashboard from out of my home network. But i have my Ubiquiti Unifi docker on by Br0 network because i want it to have its own IP, I don't want it exposed to the web, and so that it can operate correctly by finding my APs. 
So I went to integrate home assistant and the ubiquiti controller but i can't because the Home assistant docker cannot communicate with the ubiquiti controller docker. 
Can someone give me some help understanding the problem in greater detail and some possible solutions. Networking is not my strong suite and but i'm leaning. 
Thanks in advance!

Link to post

A docker container can be connected to multiple docker networks, just not if i remember correctly anywhere in the unRAID web interface. You would use the command

docker network connect

from the terminal to connect a container to a second network. The annoying bit, again if i remember correctly, is that you would have to rerun that command everytime the container is re-created, such as when you use the update button in the web-gui.

Link to post

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.