Squashfs binary format
dr-emann.github.io
dr-emann.github.io
Anyway, undocker requires extracting the archive before using it. Squashfs wouldn't. Perhaps I will write a docker2squash, so we can mount and run these images immediately after download.
Well, if you already have a rootfs tarball, I guess the bulk of the work is done. The tarball can be directly piped into tar2sqfs[1] or sqfstar[2].
[1] https://manpages.debian.org/unstable/squashfs-tools-ng/tar2s...
[2] https://manpages.debian.org/testing/squashfs-tools/sqfstar.1...
I thought a "container" (or, more precisely, a "container image"; or even more precisely, a "container image layer") is a tarball?
I've been creating multi-layer container images using `tar` (plus `sha256sum` and `jq` for the corresponding JSON "manifests"), and it works fine e.g. on AWS ECS.
How are those tools "more common" than GNU tar?
> I'm curious what lead you down this path
I had an executable; I wanted to run it on ECS; so I ran the `tar` command. Pretty simple really :)
Constructing them is easier than unpacking. :)
I'm definitely ignorant of the exact rules for those; I only use them to split up large images into a "mostly static" layer (e.g. dependencies, which may be large) and a "subject to change" layer (i.e. our code, which will be different for each version)
However that just means they have just another odd 70 years left after 2038, right?