mystikos
mystikos copied to clipboard
Investigate LinuxKit for usability in Mystikos
https://github.com/linuxkit/linuxkit
Aeva: I'm trying to convert a docker image to a cpio file that is as small as possible, which will then be mapped to a ramfs. Yes, I lose all the metadata and layers. I know. It's OK. Who knows, I may regret it later. Justin: you can actually just do this with LinuxKit directly, as its initrd file is just a cpio file, and if you just put in a single init container in the config you can just output as initrd. Justin: LinuxKit basically converts images to flat tarballs, we did use docker export to do it previously but this does it directly from the image.
https://twitter.com/justincormack/status/1353008059375874048 https://twitter.com/justincormack/status/1353010773128306694