nerdctl failed to pull image from private registry and report: snapshotter not loaded: stargz: invalid argument #2283
-
I want to pull images from an private registry and have made ctr and crictl succeed:
but nerdctl failed and output error:
Can anyone tell me why this happened?
|
Beta Was this translation helpful? Give feedback.
Answered by
AkihiroSuda
Jun 8, 2023
Replies: 1 comment
-
Are you trying to use stargz? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bluven
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you trying to use stargz?
If so, you have to run
containerd-stargz-grpc
daemon: https://github.com/containerd/stargz-snapshotterOtherwise you may accidentally have a stargz configuration in
$CONTAINERD_SNAPSHOTTER
or in/etc/nerdctl/nerdctl.toml
, and probably you want to remove it: https://github.com/containerd/nerdctl/blob/main/docs/config.md