July 12, 20178 yr 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
July 12, 20178 yr 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/
July 12, 20178 yr 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 July 12, 20178 yr by jbuszkie
July 12, 20178 yr 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 stoppedSent from my LG-D852 using Tapatalk
Archived
This topic is now archived and is closed to further replies.