Skip to content
New issue

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

fix: Import all platforms from image bundle #292

Merged
merged 1 commit into from
Jan 5, 2023

Conversation

jimmidyson
Copy link
Contributor

This commit fixes a bug discovered when running containerd in an arm64 container (via qemu)
on Linux. Taking inspiration from
https://github.com/kubernetes-sigs/kind/blob/v0.17.0/pkg/build/nodeimage/imageimporter.go#L60
we now import all platforms and create digest images when importing.

Without this fix, importing would fail with ctr: image might be filtered out - this no longer happens.

This commit fixes a bug discovered when running containerd in an arm64 container (via qemu)
on Linux. Taking inspiration from
https://github.com/kubernetes-sigs/kind/blob/v0.17.0/pkg/build/nodeimage/imageimporter.go#L60
we now import all platforms and create digest images when importing.
@jimmidyson jimmidyson requested a review from faiq January 5, 2023 14:32
@github-actions github-actions bot added the fix label Jan 5, 2023
@jimmidyson jimmidyson enabled auto-merge (squash) January 5, 2023 14:32
@jimmidyson jimmidyson merged commit 696cf03 into main Jan 5, 2023
@jimmidyson jimmidyson deleted the jimmi/fix-import-all-platforms branch January 5, 2023 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants