In the last post on Velarx I gave an overview of the engine and ran a few benchmarks against Podman. Here I want to look at how the storage layer is put together. The design comes down to a few simple boundaries: untrusted fetchers bring bytes into staging over varlink, the engine verifies every file and builds the layer images itself, a storage backend (either the built-in composefs driver or an external process over varlink) stores those verified files and returns detached lower mounts, and an fs-verity chain of trust runs from the image signature down to the pages the kernel reads.
Posts for: #Storage
Composefs - a file system for container images
For the last couple of weeks, I’ve been playing on a PoC implementation of a file system for the Linux kernel. The goal is to address a fundamental limitation in how container images are stored: the existing overlay model deduplicates at the layer level, but once you want per-file deduplication — so that identical files across different images share a single copy on disk and in the page cache — the current architecture gets in the way and requires awkward workarounds involving hard links or filesystem-specific reflinks.