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.

How to retain Docker Container data and settings ? v6.12.6

Featured Replies

I am quite new to Unraid. Apologies, if this question has been answered before. 

 

I have my Media Stack setup on Unraid (Sonarr - Radarr - Jackett - Plex - QBitTorrent). I noticed that when I updated the containers, I basically lost all the settings and metadata of these apps:

 - For the *arr Lost all Indexers, Quality, Download Clients & Profiles settings. Also Movies and Shows library became empty.

- Jackett - Lost all the Indexers that were added

- Plex - Thanksfully while all the data was still there. The metadata/ Thumbnails were all lost and also I'm pretty sure that some of the app settings got reset to default.

 

I spent close to 2 hours this morning, setting it all back up again. 

 

I reckon there must be a way to update the containers without affecting the internal data/settings of it. 

Can someone guide me on how to do this in future without losing these settings?

  • Community Expert

The key thing when using docker is that all the locations where a particular container stores variable data should be mapped to a location on the host (typically in a folder under the 'appdata' share) as that then survives a container update.   If only mapped internally to the docker image file then this type of information gets lost whenever the container is updated.   

 

Which location that actually is is container specific although normally when installing via the Unraid Apps tab the docker template will indicate which locations should be mapped to the host.

  • Community Expert

How did you install these? If you do it from the Apps page most of this is taken care of for you by using the default templates for each.

  • Author
13 minutes ago, trurl said:

How did you install these? If you do it from the Apps page most of this is taken care of for you by using the default templates for each.

 

I used Apps and for some reason all the settings were lost.

  • Author
24 minutes ago, itimpi said:

The key thing when using docker is that all the locations where a particular container stores variable data should be mapped to a location on the host (typically in a folder under the 'appdata' share) as that then survives a container update.   If only mapped internally to the docker image file then this type of information gets lost whenever the container is updated.   

 

I do have separate folders under 'appdata' share for all those applications, if that's what you mean. If that does survive containr updates, how come I lost all settings. I am confused. Am I missing something ? 

 

Quote

data should be mapped to a location on the host

 

Is this something I need to do manually ?

  • Author

For reference, attaching my appdata share settings. 

Screen Shot 2024-01-27 at 1.29.25 PM.png

  • Community Expert

You need to ask in the support thread for any particular container (available by right-clicking a container’s icon on the docker page) for what are appropriate settings.

  • Community Expert

And

 

Attach Diagnostics to your NEXT post in this thread.

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.