Description
Import() creates non-deterministic images.
Blocker for:
Steps to reproduce the issue
$ docker save ubuntu:21.10 -o ubuntu-21.10.tar
$ sudo ctr images import ubuntu-21.10.tar
unpacking docker.io/library/ubuntu:21.10 (sha256:1f9c791838f4137d059dfca394869dda9b77ee48edd82aeff252316a03999b6f)...done
$ sudo ctr images import ubuntu-21.10.tar
unpacking docker.io/library/ubuntu:21.10 (sha256:7cbda92a9f2d5f7be14314e742ce808a435c41f6cd35774b6510c2b890df4d1d)...done
$ sudo ctr images import ubuntu-21.10.tar
unpacking docker.io/library/ubuntu:21.10 (sha256:7cbda92a9f2d5f7be14314e742ce808a435c41f6cd35774b6510c2b890df4d1d)...done
The digest changes in the second iteration.
Describe the results you received and expected
Received: non-reproducible digests
Expected: reproducible digests
What version of containerd are you using?
containerd github.com/containerd/containerd v1.6.0-beta.3 1a88cf5
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response
Description
Import()creates non-deterministic images.Blocker for:
nerdctl build-nix) nerdctl#582Steps to reproduce the issue
The digest changes in the second iteration.
Describe the results you received and expected
Received: non-reproducible digests
Expected: reproducible digests
What version of containerd are you using?
containerd github.com/containerd/containerd v1.6.0-beta.3 1a88cf5
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response