accelerated-container-image
accelerated-container-image copied to clipboard
Question: multi-platform image support
What would you like to be added?
Ask here instead of discussion since it may be a feature request. Feel free to move to discussion if it's already supported, thanks!
I wonder if overlaybd currently supports multi-platform images (e.g., an image index consisting of an amd manifest and an arm image manifest), e.g.:
- Does the image convertor support multi-platform image conversion/build?
- Does the image convertor support cross-platform image conversion (e.g. convert an arm image on an x86 VM)
- Does overlaybd snapshotter support multi-platform image (I guess yes since containerd will select the platform-specific image beforehand?)
Thanks!
Why is this needed for Accelerated Container Image?
Multi-platform images are common as a way to organize an image for different platform within a single unit.
Are you willing to submit PRs to contribute to this feature?
- [ ] Yes, I am willing to implement it.
- Not supported yet, but we already have an implementation around this, I will be opening a PR soon.
- Yes, the convertor is platform-independent.
- Yes, just as you guessed.
Not supported yet, but we already have an implementation around this, I will be opening a PR soon.
Great! Look forward to the PR. (I guess the workflow will be like below?)
- given a multi-platform image index (with, e.g., one x86 image manifest and one ARM manifest)
- run the conversion on a x86 (or ARM) machine.
- the x86 image will be converted natively, the ARM image will be converted cross-platform.
- then another multi-platform image index for the 2 converted image manifests is generated.
Thanks @WaberZhuang for the update!
cc @shuaichang