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.

Do I need to stop the docker service before a reboot?

Featured Replies

I needed to reboot my machine yesterday so I stopped all my dockers and then tried to stop the array.  It got stuck

trying to umount the drives.  It was stuck trying to unmount the drive that my docker image was on.

I couldn't find any browser or telnet session that was using or pointing to any docker image files.

I ended up having to force a reboot from the console.

Luckily I was able to restart my dockers on a reboot with no issues.

 

I couldn't find any info in the FAQ..  

So what is the proper way to shutdown/reboot when using dockers?

Do I need to manually stop the dockers and then stop the docker service?

Or if I stop the array will it do everything for me?

 

This will also come into play in a power failure scenario. Will the system shutdown cleanly when the battery gets low.

 

Thanks,

 

Jim

 

You don't need to stop the service before rebooting / shutting down / power failure.

 

There are some circumstances however where any application can hang the umount process.  Most commonly is having a SSH session with the current directory set to something within /mnt/

  • Author

Thanks, Squid!

Is there a post somewhere that outlines how to find the offending process that's keeping the drive from being unmounted?

I tried the the lsof command but I couldn't figure out what I needed to kill.

I'm pretty sure it was something accessing something that was mounted from the docker image.

 

Jim

Edited by jbuszkie

Completely off the top of my head while mobile:
If /var/lib/docker/containers still exists then umount /var/lib/docker. All of the containers would have already been stopped

Sent from my LG-D852 using Tapatalk

Archived

This topic is now archived and is closed to further replies.

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.