3 ms·
Composefs has a totally crucial feature that sold me immediately, which is that if two containers use the same file, the kernel can serve that file from the sam
by jauntywundrkind 2y ago
Composefs has a totally crucial feature that sold me immediately, which is that if two containers use the same file, the kernel can serve that file from the same page cache. This means you can hypothetically launch a lot of containers, and if they share some layers/base images, the memory usage can still be quite reasonable. Nice. https://github.com/containers/composefs?tab=readme-ov-file#backing-store-shared-on-disk-and-in-page-cache https://github.com/containers/composefs?tab=readme-ov-file#b...
- ChocolateGod 2y agoIf you swap to a content-based object store for container images (like OSTree/Flatpak), you could potentially save a lot of disk space too because you'll no longer need to be careful about your Dockerfile layers. If two OCI images share the same file, they'll be de-duplicated on disk and only be downloaded once.