Changing the default network option for adding containers


neruve

Recommended Posts

Mods: Please move if not in the right place, it just didn't really seem to fit with 'Container Support'

 

Is there a way to change what the default network is for containers? I have a custom docker network that 99.9% of my containers live on. Everything I pull a new container I ALWAYS forget to change it, then I have to go back in and change it and restart the container, not a big deal and definitely a me problem, but still a minor annoyance. 

 

Does anyone know where this could be changed? Ideally, with a userscript that modifies the config in RAM (since thats where unraid runs) while its running, that way its not a permanent change? It could just be a 'on array start' or 'on boot' script.

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.