There is an internal bug raised within IBM for this docker problem after a abrupt host shutdown.
docker daemon when comes up, it tries to cleanup oldcontainers.
This is not happening successfully with libcontainer driver.
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
A new docker binary with the required fix is hosted in the following repo
- echo "deb http://pokgsa.ibm.com/projects/d/docker/apt-repo/trusty trusty main" > /etc/apt/sources.list.d/trusty-docker.list
- apt-get update
- apt-get install docker.io