Can't pull image from private registry: filesystem layer verification failed for digest

Hi, All.

I have a private registry where I can pull/push docker images. So far, I created a bunch of images and pushed/pulled them and it is working fine. Today, I built two new docker images in my local Macbook Pro and pushed them successfully to the registry. However, when I try to connect in a remote server that has centos 7 installed and from there I simply cannot pull these two images. I get the error “filesystem layer verification failed for digest”:

docker pull
Using default tag: latest
latest: Pulling from playground/myimage
723254a2c089: Pull complete
abe15a44e12f: Pull complete
409a28e3cc3d: Pull complete
503166935590: Pull complete
0f46f97746e4: Pull complete
fe27feb3d509: Pull complete
5efd1be29fdb: Pull complete
1c7f21b2c7a5: Pull complete
19d6f0b88217: Verifying Checksum
cf4767703261: Download complete
e7bce40b670c: Download complete
ed69910df451: Download complete
7c3805333d22: Download complete
1beb82159dfb: Download complete
445380e29395: Download complete
23e0190b0ab4: Download complete
0f0c62abbeae: Download complete
6fad04e1f1a2: Download complete
1550abf0577f: Download complete
fd81c27488a8: Download complete
29a1f4b3a17b: Download complete
235e5626e097: Download complete
1ecde1173c8d: Download complete
62ff85b2b2dd: Download complete
b7da4aa163e7: Download complete
6c048c6efb3b: Download complete
d47671515d80: Download complete
e6cd0eefc1ec: Download complete
filesystem layer verification failed for digest sha256:19d6f0b88217ae5df73ebe519e211cb2ab143b4253c44f0553c65d9d02957593

I tried a lot of different things…Rebuild the image, restart the daemon, restart the machine, etc and it simply doesn’t work. I have no idea. One difference from these two images compared to all the other images that are working fine in this registry is that these two images are relatively bigger because they use a lot of scientific packages, etc. A strange behavior is that while the image is being downloaded, I can see that the layer 19d6f0b88217 get stuck in the “Verifying Checksum” and that is the exact layer that fails in the end as the error message shows.

The environments are:

  1. Macbook Pro (build and push image)

Docker version 17.12.0-ce, build c97c6d6
MacOS High Sierra 10.13.4

  1. CentOS Server (Pull image)

Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-693.el7.x86_64
Architecture: x86-64

Docker version 18.06.1-ce-rc2, build e2e08f8

Any idea of why this is not working? Thanks!