genuinetools / img

Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.
https://blog.jessfraz.com/post/building-container-images-securely-on-kubernetes/
MIT License
3.9k stars 231 forks source link

Failing on some whiteout files #349

Open viraptor opened 2 years ago

viraptor commented 2 years ago

The tool is failing on some whiteout files created by docker. For example pulling linuxserver/transmission:2021.10.07 fails with:

DEBU[0003] fetch                                         digest="sha256:6bcf60ea6384b663348f4effd28203708a81f99b36b078f3aee5d46a2f0b5ef3" mediatype=application/vnd.docker.image.rootfs.diff.tar.gzip size=25800150
DEBU[0003] using pigz for decompression                 
Error: mount callback failed on /run/user/1000/containerd-mount617582889: failed to convert whiteout file "tmp/.wh.patch": unlinkat /run/user/1000/containerd-mount617582889/tmp/patch/etc/s6/init: input/output error