Cannot do a kill or stop or anything else to zombie container

weird problem
i cannot destroy running container
docker stop or kill does nothing, gets into void…
cannot pkill or kill PID :slightly_frowning_face:

how to kill this zombie container?

~ # ps -aux | grep zcoin1
root 28233 0.0 0.1 416764 61476 pts/0 Sl 21:38 0:00 docker kill zcoin1
root 28475 0.0 0.1 408568 62460 pts/0 Sl 21:38 0:00 docker stop zcoin1
root 29532 0.0 0.0 12880 2332 pts/0 S+ 21:40 0:00 grep --color=auto zcoin1
root@Ubuntu-1604-xenial-64-minimal ~ #


container are stop/kill/pause with container name or with container id
can you run the command docker ps -a and share this details
this will list all container which are there and from this you can do docker stop ‘container id’

let us known in case if any query


I have also faced the problem in the past. The only way to stop this kind of “zombie” containers was to look for the parent process and afterward kill it manually.

You have to get the container ID through docker ps first and then

sudo ps awx | grep containerd-shim | grep
afterward kill the containerd-shim process.

1 Like