GnoseedGnoseed
DevOps · Flashcard

How does copy-on-write work in an overlayfs container filesystem?

Why this is the answer

With overlayfs, unchanged files are read from lower layers, and modifying a file copies it up into the writable upper layer first. Lower layers are never written in place, the upper layer stores real changes (not just logs), and the container filesystem is writable, not read-only.

Read more in the docs
Study in Gnoseed →