Hacker News new | ask | show | jobs
by dflock 836 days ago
Nice idea! How does this actually work? I'm guessing it's wrapping a custom loader + docker + the image into an executable binary - or something like that?
2 comments

Yep pretty much.

The executables bundle crun (a container runtime)[0], and a fuse implementation of squashfs and overlayfs. Appended to that is a squashfs of the image.

At runtime the squashfs and overlayfs are mounted and the container is started.

[0]: https://github.com/containers/crun

Apologies for my ignorance, but how does squashfs fit into this picture? It seems I'm missing some pieces of the puzzle.
Ok, I've checked code a bit. We use squashfs to pack/unpack OCI Bundle, and for lower layer in OverlayFS.
Sounds like universal appimage