Apex › Systems & OS

OverlayFS — container image layers & copy-up

A container image is a stack of read-only layers plus one writable layer per container, unioned into the single filesystem the process sees at /. Edit a file that lives in a read-only image layer and watch it copy up into the writable layer — the image stays pristine, which is why a hundred containers share one image on disk. Delete a lower file and a whiteout hides it. The real overlayfs lowerdir/upperdir/workdir/merged, made visible.

More in Systems & OS