Skip to content

filesystem layer verification failed #2

@fheslouin

Description

@fheslouin

I followed the instructions in you example and I end up with this issue.

~# docker pull localhost:5000/ciqo6po3ozxoo54wyi62uqtworyrhhoohctgl26kctluehg3oyr25ni/centos:latest
latest: Pulling from ciqo6po3ozxoo54wyi62uqtworyrhhoohctgl26kctluehg3oyr25ni/centos
d69483a6face: Verifying Checksum
filesystem layer verification failed for digest sha256:d69483a6face4499acb974449d1303591fcbb5cdce5420f36f8a6607bda1185

My test :

~# image2ipfs --version
0.1.0/b2f3119d5509b8ae6ec541aa11213c8ae5f3fc6
~#  docker version
Client:
 Version:           18.09.4
 API version:       1.39
 Go version:        go1.10.8
 Git commit:        d14af54
 Built:             Wed Mar 27 18:36:06 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.4
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.8
  Git commit:       d14af54
  Built:            Wed Mar 27 18:01:48 2019
  OS/Arch:          linux/amd64
  Experimental:     false
~# docker pull centos:7
7: Pulling from library/centos
8ba884070f61: Pull complete
Digest: sha256:8d487d68857f5bc9595793279b33d082b03713341ddec91054382641d14db861
Status: Downloaded newer image for centos:7
~# docker save centos:7 | image2ipfs
2019/04/04 11:43:00 workdir is /tmp/image2ipfs475021449
2019/04/04 11:43:10 processing centos:7
2019/04/04 11:43:10 processing layer /tmp/image2ipfs475021449/3dd8a7a03c185daa33b52d9d0bb475d902915732e5fdc92a4dd2c93c58fe9d14/layer.tar
2019/04/04 11:43:34 using ipfs in /usr/local/bin/ipfs
2019/04/04 11:43:36 image ready QmeSYrcUpDz7i2Uh1e42EA6cJYR9iG9ux94fJsAksU7V3r
2019/04/04 11:43:36 browse image at http://localhost:8080/ipfs/QmeSYrcUpDz7i2Uh1e42EA6cJYR9iG9ux94fJsAksU7V3r
2019/04/04 11:43:36 dockerized hash ciqo6po3ozxoo54wyi62uqtworyrhhoohctgl26kctluehg3oyr25ni
2019/04/04 11:43:36 you can pull using localhost:5000/ciqo6po3ozxoo54wyi62uqtworyrhhoohctgl26kctluehg3oyr25ni/centos
localhost:5000/ciqo6po3ozxoo54wyi62uqtworyrhhoohctgl26kctluehg3oyr25ni/centos
~# docker pull localhost:5000/ciqo6po3ozxoo54wyi62uqtworyrhhoohctgl26kctluehg3oyr25ni/centos
Using default tag: latest
latest: Pulling from ciqo6po3ozxoo54wyi62uqtworyrhhoohctgl26kctluehg3oyr25ni/centos
d69483a6face: Verifying Checksum
filesystem layer verification failed for digest sha256:d69483a6face4499acb974449d1303591fcbb5cdce5420f36f8a6607bda11854

images2ipfs logs

2019/04/04 11:44:50 Get the manifest of /v2/ciqo6po3ozxoo54wyi62uqtworyrhhoohctgl26kctluehg3oyr25ni/centos/manifests/latest from http://127.0.0.1:8080/ipfs/QmeSYrcUpDz7i2Uh1e42EA6cJYR9iG9ux94fJsAksU7V3r/centos/manifests/latest-v2
2019/04/04 11:44:50 Redirecting blob of /v2/ciqo6po3ozxoo54wyi62uqtworyrhhoohctgl26kctluehg3oyr25ni/centos/blobs/sha256:9f38484d220fa527b1fb19747638497179500a1bed8bf0498eb788229229e6e1 to http://127.0.0.1:8080/ipfs/QmeSYrcUpDz7i2Uh1e42EA6cJYR9iG9ux94fJsAksU7V3r/centos/blobs/sha256:9f38484d220fa527b1fb19747638497179500a1bed8bf0498eb788229229e6e1
2019/04/04 11:44:50 Redirecting blob of /v2/ciqo6po3ozxoo54wyi62uqtworyrhhoohctgl26kctluehg3oyr25ni/centos/blobs/sha256:d69483a6face4499acb974449d1303591fcbb5cdce5420f36f8a6607bda11854 to http://127.0.0.1:8080/ipfs/QmeSYrcUpDz7i2Uh1e42EA6cJYR9iG9ux94fJsAksU7V3r/centos/blobs/sha256:d69483a6face4499acb974449d1303591fcbb5cdce5420f36f8a6607bda11854

ipfs files

~# ipfs ls QmeSYrcUpDz7i2Uh1e42EA6cJYR9iG9ux94fJsAksU7V3r
QmQ1GdV7jPVmXCqwVQ5ZByKkjbi8X2S4WxNNAwHFSHLZqh - centos/
~# ipfs ls QmeSYrcUpDz7i2Uh1e42EA6cJYR9iG9ux94fJsAksU7V3r/centos/
QmSmZAUcConcqWMgF8BggrBn3YM6CnTwci2QazMKRW8fw6 - blobs/
QmRkHSPsjFKxTMTGgJ6WFq3gsz3SvFMxdq4USqQow2netU - manifests/
~# ipfs ls QmeSYrcUpDz7i2Uh1e42EA6cJYR9iG9ux94fJsAksU7V3r/centos/manifests
QmVYWTdb2vJc7KqDKNap3DrDpVBL8mYQ1nvqdSYEGkcWLz 505 latest-v2
~# ipfs ls QmeSYrcUpDz7i2Uh1e42EA6cJYR9iG9ux94fJsAksU7V3r/centos/blobs
QmZmmuGYcZV7RUrt2hFQCj9ChYLbZNbLMpNe5eFA6ZLug9 2182     sha256:9f38484d220fa527b1fb19747638497179500a1bed8bf0498eb788229229e6e1
QmbET1CS862btxpN6XTKgiT2BVRr4QYyRPY1XyGZ6PmZFJ 75403836 sha256:d69483a6face4499acb974449d1303591fcbb5cdce5420f36f8a6607bda11854

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions