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.

Issue starting docker containers after reboot (they've all vanished).

Featured Replies

Hi folks, 

I'm having an issue starting or more importantly finding docker containers that i had running after a reboot. 

I had quite a lot of containers as you can see in this screenshot, and as i said they've "vanished". I've also attached my diagnostics file.
image.thumb.png.f618a1ebc5dd0e376b23fe5787a9b6b3.png

tower-diagnostics-20230111-0059.zip

Solved by trurl

Unrelated, but SSDs in the parity array cannot be trimmed. Nothing assigned as cache, I assume that is expected since your array is SSD.

 

Why do you have 500G docker.img? 20G is often more than enough. Have you had problems filling it?

 

Looks like docker.img may be new since it doesn't have much in it. Can you tell us more about how you got to this point?

 

What do you get from command line with this?

ls -lah /boot/config/plugins/dockerMan/templates-user

 

 

  • Author

Hi thanks for this, i think i figured it out from a good old google! Looks like it was realted to the docker img being located in /user/ vs. /volume/ aka disk1. So when the parity disk was trimmed, (it seems they do support trimming now btw). It was cleaning up the docker img from the parity and causing loads of issues, seems like two steps forward and one step back sometimes with Unraid changes :D 

I also use a large docker image as sometimes i work with huge datasets and need the space, haven't in a while but saves me stopping all dockers to bump up the img size.  

Post changing the location of the docker img, i did a restore from "previous apps" under the App section. 

Edited by Inch

3 hours ago, Inch said:

So when the parity disk was trimmed, (it seems they do support trimming now btw). It was cleaning up the docker img from the parity

Parity doesn't know anything about files, it's just a bucket of bits that completes an equation with all the array disks. If ANY array disk was trimmed without the affected bits being accounted for in parity it would invalidate parity, causing potential corruption if a disk was rebuilt, and parity checks subsequent to the trim event would have errors.

 

 

  • Solution
4 hours ago, Inch said:

docker img being located in /user/ vs. /volume/ aka disk1.

/user and /volume are not persistent paths in Unraid, and /volume is not a path to any disk or user share.

 

Perhaps you mean a user share path such as /mnt/user/system vs. a disk path such as /mnt/disk1/system. Either should work.

 

4 hours ago, Inch said:

when the parity disk was trimmed, (it seems they do support trimming now btw

Do you have a link for that? Even if true, the rest of your explanation doesn't make any sense since parity doesn't contain any data.

 

4 hours ago, Inch said:

use a large docker image as sometimes i work with huge datasets

Any huge dataset should be mapped to host storage and not created inside docker.img . Lots of people get by with 20G docker.img whatever they are doing.

 

4 hours ago, Inch said:

restore from "previous apps"

That was the reason for my question

17 hours ago, trurl said:

What do you get from command line with this?

ls -lah /boot/config/plugins/dockerMan/templates-user

since those templates are where previous apps gets the information for the create/edit container page to recreate your dockers.

  • Author
19 hours ago, trurl said:

/user and /volume are not persistent paths in Unraid, and /volume is not a path to any disk or user share.

 

Perhaps you mean a user share path such as /mnt/user/system vs. a disk path such as /mnt/disk1/system. Either should work.

 

Any huge dataset should be mapped to host storage and not created inside docker.img . Lots of people get by with 20G docker.img whatever they are doing.

Thank you for this, I'm going to go away and make changes per this threads reccomendation! Really appreciate the help here, what i suspect was happening is since my docker img file was so large, it was creating it, and then maybe reducing the size (to the actual needed size) vs. trimming? Unsure though.

Also RE SSD Trim: https://www.reddit.com/r/unRAID/comments/xog67u/dynamix_ssd_trim/

image.thumb.png.3c2485bdb8287e317dcc280cb40d8ce3.png

Edited by Inch

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.