filesystem layer verification failed for digest
Asked Answered
T

4

6

How to fix the docker problem? when I use the latest EC2 and docker (1.9.1) whatever the image is, they always tell me this error: """ filesystem layer verification failed for digest sha256 """

What should I do?

Tooth answered 24/12, 2015 at 7:29 Comment(1)
I had pretty much the same issue, but for me it occured when I was pulling and verifying multiple images at the same time. I guess that is not the case in your scenario? For me it resolved when I stopped pulling in images in parallel.Audley
E
6

That looks like an error from a trusted sandbox.
But it has been seen in other context, like issue 15603

Try and stop/restart the docker daemon, and remove all images

 sudo service docker stop
 sudo service docker start
 docker images -q | xargs docker rmi
Eventide answered 24/12, 2015 at 7:36 Comment(0)
C
0

I am run into this problem when running ubuntu on virtualbox, finally I found it may because of the virtualbox software has broken. After reinstall virtualbox, everything is ok(VM created before is still working, no need to crate new VM).

More info

at same time, when I run:

apt update

I get this error:

  Hash Sum mismatch
  Hashes of expected file:
   - SHA256:03a16e592ababd5fbd11dc5c90503f166340d0f87efd69315892151df20f0a6a
   - Filesize:18208700 [weak]
  Hashes of received file:
   - SHA256:cf0461e3778f9765def3cdd527b66d477602b890c3bf0672376e7c3f41285c46
   - Filesize:18208700 [weak]
  Last modification reported: Fri, 10 Jun 2022 03:36:01 +0000
Crybaby answered 16/6, 2022 at 9:12 Comment(0)
J
0

This happened to me when I was out of disk space.

Jaipur answered 4/10 at 15:11 Comment(0)
B
-2

I resolved removing the content of /var/lib/docker/ (but attention!! in this way you will remove all images, containers, and configurations)

rm -rf /var/lib/docker/*

then

service docker stop
service docker start
Brainwashing answered 11/1, 2021 at 11:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.