You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ctr image export fails when discard_unpacked_layers=true is enabled #9277
When GC layers optimization is enabled (discard_unpacked_layers=true) some/all layers may be missing from containerd content storage.
Thus ctr image export fails to export image. Can CLI be fixed to export image content? Practically the content is present on the disk
Steps to reproduce the issue
Install K8s with containerd
enable discard_unpacked_layers=true in /etc/containerd/config.toml
Alternatively you may create e.g. GKE 1.27
list images using sudo ctr -n k8s.io image ls, choose some image. Instead run pod with some image e.g. alpine:latest
Activity
hellt commentedon Feb 21, 2024
We are also looking for a solution to this problem.