Description
After an abrupt host shutdown, docker daemon when it comes up, tries to cleanup oldcontainers.This is not happening successfully with libcontainer driver.
workaround
---------------
The cleanup happens successfully when we start docker daemon with lxc driver
apt-get install lxc
docker -d -D -e lxc --log-level=info
[ we can kill this docker daemon]
and next time we can start docker normally using
service docker start
Permanent fix to this is to use docker built with latest gccgo and linked to glibc2.21.
The fixed binary is available internally inside IBM but not yet available publicly. Need to check on that.