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.

Change container autostart flag from CLI

Featured Replies

Hi all, I have an unRaid server I use for storage and to run some containers on my homelab. As part of my homelab I setup a Jenkins Server to automate the deploy process of some containers based using docker-compose.

 

Everything is fine except the fact that the containers created from the CLI don't get the value of autostart flag as true

image.thumb.png.6798dd056e5f9d3e3672d9ac1fa72fa4.png

 

I need to manually change this value after the deployment and this kinda fall apart the idea of automated deployment. 

 

Do you know if there is any way to change this value from the CLI (so I can add this step as part of my Jenkins pipeline) either from the docker command or a specific unraid cli?

  • Community Expert

Haven't tried this myself, but you might take a look at the file /var/lib/docker/unraid-autostart

  • Author

Ok, looks promising. I see even a few container names I've already deleted.

 

Few questions you may be able to assist 

- is this file saved under the USB Drive to be persisted between boots? 

- is it safe to simply add values on this vale or there is any CLI tool from unraid to manage this file (I really don't want to break the system for something like this) 

 

 

  • Community Expert

That file is actually inside the docker.img vdisk. I don't know much about it for sure, it just seemed like it might be related.

  • Author

I'll test it and post about it later

 

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.