logoalt Hacker News

liquid64today at 4:02 PM2 repliesview on HN

The kernel/initrd come from a regular OCI container image — there's no separate VM image format. Any OCI image containing /boot/vmlinux (and optionally /boot/initramfs.cpio.gz) works as a kernel image.


Replies

ktm5jtoday at 5:49 PM

I don't think I've ever seen a kernel or initrd in a container image. The whole point of containers is not to duplicate the kernel, and you definitely don't need an initial ram disk since you already have a running operating system.

show 1 reply
spwa4today at 4:04 PM

And if they don't have a kernel? You just specify kernel + initrd?

show 3 replies