I am unable to start docker daemon. When I try I get a bunch of errors saying

invalid image sha256:{some sha here}, failed to verify image: sha256{some sha here}

and then one line that says

Error starting daemon: layer does not exist

I suspect the images are corrupted or something—there was an issue the last time this server was shut down. I don't mind removing the images, but I can't find any way to do that without getting docker started. I was hoping there was some sort of --skip verify argument, but I can't find anything like that.

How can I get docker started?

OS is CoreOS 1010.5.0.

I found this script on the Docker GitHub page that will safely delete files in /var/lib/docker. Running that wiped out all the corrupted images and I was able to successfully start docker daemon.

  • Thanks! This helped me, also I should run service docker stop before this (otherwise some files locked) – Павел Иванов Jun 7 '16 at 10:36

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.