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.

Docker Container Connect to Two Networks

Featured Replies

Sorry if this is a simple question but I have a docker that I want to connect to two different networks.  Is there a way to do this and if there is how would I do it.  Currently I have 2 different Ethernet ports and for example one is running on 192.168.1.x and the other is on 192.168.2.x.  Is there a way to get the container to be able to recognize devices on both networks?  Currently I have the first network recognized but unsure how to get the other one.

Edited by mgranger

I see no way of doing this.  I would think you would spin up another instance of the Docker container for the 2nd network.  I have a few instances of Plex running on different networks using this method.

  • Author

seriously there is nothing that would allow me to access the 2nd network

2 hours ago, mgranger said:

seriously there is nothing that would allow me to access the 2nd network

This is only possible thru CLI. Use this command

docker network connect <network> <container>

 

  • Author
On 2/22/2019 at 2:00 AM, bonienl said:

docker network connect <network> <container>

 

this is what i am getting when i run this

 

root@Finalizer:~# docker network connect eth3 home-assistant
Error response from daemon: network eth3 not found

 

what is the output of

docker network ls

Networks are defined under Settings -> Docker

image.thumb.png.042377e23918d1dfeb385431b6e245d0.png

 

Or you can create your own user defined networks, make sure the setting "Preserve user defined networks = Yes"

Archived

This topic is now archived and is closed to further replies.

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.