docker custom network creation


noties

Recommended Posts

 

Do I need to manually create my custom networks for dockers at CLI in addition to assigning bridge members in UI?  I created a custom network a while ago when the feature was first released and I'm looking to add another.  I have additional Ethernet ports that I'm looking to use.

 

br2 is my interface that I setup previously.  br3 is my new interface.

image.thumb.png.9519061725d9dc4c9eccf49c438e9eac.png

 

image.thumb.png.373c25257eb2dc0364f37c8b98d0601a.png

 

When I go to assign br3 to a docker image, it does not appear as a choice.

image.png.0dd64644e79f8c65db48ed933dc3db86.png

 

I've rebooted the server after adding the br3 configuration.  I also followed the instructions in this article about removing local-kv.db and restarting docker.

 

Not sure if I'm doing something wrong or if I just need to 'docker create network' as well.

 

Thanks.

 

Link to comment

What version of Unraid are you on? 6.8? What are you trying to create the docker network for? I had my docker network working before upgrading to 6.8.. You can sort of see me fumbling my way through it in 6.8 after the upgrade broke it here, there is also a short tutorial someone posted on my thread as well. 

Link to comment

Sorry, I should have stated.  Running Unraid 6.8.1. 

 

I've searched the Docker FAQ and documentation on whether I need to manually create the network as well as configure in the UI and I couldn't find anything stating that I needed to manually create.   I'm trying to create another network because I would like some dockers to point to a different default gateway on my network.

 

 

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.