mystikos icon indicating copy to clipboard operation
mystikos copied to clipboard

Investigate LinuxKit for usability in Mystikos

Open AevaOnline opened this issue 4 years ago • 0 comments
trafficstars

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

AevaOnline avatar Jan 28 '21 19:01 AevaOnline