This page was originally intended simply to summarise the differences between image options. However, I'm really glad you've brought up the important and ongoing issue of distro packaging. I've tried to summarise that in [1], but maybe that too needs to be surfaced by putting it into a wiki page of its own.
There may be an alternative solution to the ongoing issue of packaging binaries images...
- Kata needs a binary rootfs image and a binary kernel image to boot the hypervisor. Once booted, the user's chosen (binary) disk image will be made available for the workload (you might be able to see where this is going... :)
- Our OBS packaging currently packages images and kernels as a convenience to users.
- Container managers like Docker also require binary images. But those images are not packaged - they are downloaded on demand ("docker pull").
- This leads to a potential solution to the packaging blocker: Kata could be packaged without any binary assets.
- If the binaries were not packaged, an additional step would be required before a Kata container could be created, something like [2]:
$ sudo kata-runtime pull [all-assets|image|initrd|kernel]
There are complications with this concept though, including:
- Where would we host such assets?
- How would the kernel be handled?
- How would the system determine which type of image to download?
- How would updates to these assets be handled? We need to avoid / minimise the "stale container" scenario [3].