Remove potential corrupted docker network checkpoint file before start docker

again.
This commit is contained in:
Dawn Chen 2016-02-22 17:08:31 -08:00
parent 6c5f07d58e
commit d922ddef8c

View File

@ -25,6 +25,10 @@ while pidof docker > /dev/null; do
sleep 10 sleep 10
done done
# cleanup docker network checkpoint to avoid running into known issue
# of docker (https://github.com/docker/docker/issues/18283)
rm -rf /var/lib/docker/network
/etc/init.d/docker start /etc/init.d/docker start
echo "waiting 30s for startup" echo "waiting 30s for startup"