Docker Community Forums

Share and learn in the Docker community.

Ghost in the shell


(Sam Saffron) #1

Is there a script out there that stops all running containers, upgrades docker and restarts the old containers?

Every time I upgrade docker all my containers are going into ghost state (last happened when we moved from 0.7.6 -> 0.8.1 )

My current simple workaround is simply to reboot servers after update.

cc @sven


(Jouster) #18

you could probably work on a bash script to close them, update docker, and restart them. I mean ive been able to delete containers with the only input coming from docker ps.


(Sam Saffron) #19

This is not really an issue anymore, docker upgrades take care of this with the new restart policies.