We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ctr image export
K3s tracking issue for:
We should use containerd.WithSkipMissing to prevent failing the entire import if content for some platforms is missing.
The text was updated successfully, but these errors were encountered:
Ubuntu 22.04, Single server
write-kubeconfig-mode: 644 cluster-init: true node-name: server1
/var/lib/rancher/k3s/agent/images
$ k3s -v k3s version v1.30.1+k3s1 (80978b5b) go version go1.22.2
$ kubectl run nginx --image=nginx pod/nginx created $ sudo ctr images ls | grep nginx docker.io/library/nginx:latest ...
$ sudo ctr image export nginx-image.tar docker.io/library/nginx:latest
$ sudo mkdir -p /var/lib/rancher/k3s/agent/images && sudo cp nginx-image.tar /var/lib/rancher/k3s/agent/images
$ sudo journalctl -u k3s | grep nginx-image Jun 12 22:46:49 ip-172-31-47-24 k3s[23292]: time="2024-06-12T22:46:49Z" level=info msg="Importing images from /var/lib/rancher/k3s/agent/images/nginx-image.tar" Jun 12 22:46:51 ip-172-31-47-24 k3s[23292]: time="2024-06-12T22:46:51Z" level=error msg="Error encountered while importing /var/lib/rancher/k3s/agent/images/nginx-image.tar: failed to import images from /var/lib/rancher/k3s/agent/images/nginx-image.tar: content digest sha256:c36751d7f6324d496c55c7fae626cda3efcc62b11a3b6cfb28d5ae53d8d6fc7a: not found"
$ sudo ctr images ls | grep nginx $
$ k3s -v k3s version v1.30.1+k3s-d9b8ba8d (d9b8ba8d) go version go1.22.2
$ sudo journalctl -u k3s | grep nginx-image Jun 12 22:37:58 k3s[20247]: time="2024-06-12T22:37:58Z" level=info msg="Importing images from /var/lib/rancher/k3s/agent/images/nginx-image.tar" Jun 12 22:38:00 k3s[20247]: time="2024-06-12T22:38:00Z" level=info msg="Imported images from /var/lib/rancher/k3s/agent/images/nginx-image.tar in 2.262639703s"
$ sudo ctr images ls | grep nginx docker.io/library/nginx:latest ...
Sorry, something went wrong.
brandond
mdrahman-suse
No branches or pull requests
K3s tracking issue for:
ctr image export
rancher/rke2#5944We should use containerd.WithSkipMissing to prevent failing the entire import if content for some platforms is missing.
The text was updated successfully, but these errors were encountered: