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.

Disable docker settings without deleting them

Featured Replies

Historically I used docker-compose to manage my containers. 

I very rarely deleted lines in my config, opting to comment them out instead incase I needed to revert the change or refer to the setting later.

Similarly, I would like the ability to disable lines in a container config, rather than delete them.

One example of how this can be helpful: I commonly disable the webui after integrating with my reverse proxy... but I like to keep the line there because I would otherwise have to  go to the maintainer's site to determine what the container port is if I need to re-enable it for any reason.

As someone else requested, this could also be addressed by allowing direct editing of the container configuration via YAML or other text format.

For docker containers managed by Unraid have you tried editing the .xml templates (using Dynamix File Manager) under /boot/config/plugins/dockerMan/templates-user?  
 

Having said that although it easy to edit from there it is not something I have tried in anger and I suspect there may be some ‘gotchas’ particularly if you then subsequently try to edit from the GUI but it might be better than nothing.

  • Author

I have not dug that far into the internal workings of Unraid. 

I am coming from a self built/managed NAS/Docker host on Debian... I had to touch it so infreqently that when I did change something I had to relearn something all over again every time.  My hope was that with unraid, I would be saved the "1 hour of research for a 10 second change" cycle I was in with my last server.

I am submitting this request to try and encourage small quality of life improvements that help me achieve my dream of making server management something I don't have to think about or dread.

I think the idea of having the docker configuration represented as a file, as others have suggested, perhaps even a docker-compose YAML, would be awesome... but if nothing else, a simple checkbox to the left of every configuration entry to disble/enable the entry would be great.  that would allow us to keep things in the container config for future reference.

Edited by 2Confused

  • 3 weeks later...

I too am looking for a solution to this.  I use OBS to record muticam NDI footage at work, and it shares the GPU with my VM.  If i just want to do something simple, with a single NDI camera, i don't need the GPU's assistance and the VM can be left alone.  But the container wont start unless i remove those lines...but that's allot of hassle and "where did i put that info" when i need the GPU access again. 
Although, as i type this, i realize i do have the notes plugin installed.  So for now, i can use that to store my GPU settings  But it would be nice if there is a way to comment the setting out in the basic edit page!  
(I have tried using "#" at the front of the line, but the container fails to apply the changes.)

  • Author

Great example miicar.  One of the things I loved about using docker compose was that my configuration was self documenting.  Commenting out options served as part of that record, along with any comments I added along the way.

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

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.