March 10, 20206 yr I have a docker that won't stop. I've tried manually killing it (docker kill containername) and I can't. I tried to kill the process in the container that was still running, but I got an error.... My guess is I won't be able to shutdown/restart the array until the whole docker subsystem is happy. How can I kill/restart the whole docker processes? Thanks, Jim
March 10, 20206 yr Author This Stackoverflow post was helpful. I was able to kill the process this way. We'll see if I can stop/restart the array gracefully. I need to wait for a disk zeroing to finish first before I can try... Quote All the docker: start | restart | stop | rm --force | kill commands may not work if the container is stuck. You can always restart the docker daemon. However, if you have other containers running, that may not be the option. What you can do is: ps aux | grep <<container id>> | awk '{print $1 $2}' The output contains: <<user>><<process id>> Then kill the process associated with the container like so: sudo kill -9 <<process id from above command>> That will kill the container and you can start a new container with the right image. Edited March 10, 20206 yr by jbuszkie
Archived
This topic is now archived and is closed to further replies.