Docker Container Connect to Two Networks


mgranger

Recommended Posts

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
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.