OverlayFS
The Linux union filesystem Docker uses to stack image layers into a container root directory.
In more detail
OverlayFS joins a read-only lower directory stack with one writable upper directory. overlay2 is the name of the Docker storage driver built on it, and docker info reports it as the storage driver on most installations.
Example
docker info -f '{{.Driver}}' # overlayfs or overlay2Related terms
- union filesystem — A filesystem that stacks several directories on top of each other and shows them as one.
- storage driver — The part of the Docker daemon that decides how image layers and container writable layers are stored on disk.
- copy on write — A rule where a shared file is only copied at the moment someone changes it.
Taught in
- Docker, OCI, The Engine And The CLI — Docker Architecture & Production Containers
- One Comma, No Engine: Installing And Configuring Docker Engine — Docker Certified Associate (DCA) Exam Prep
- Two Containers, How Much Disk? Storage Drivers, Layers And devicemapper — Docker Certified Associate (DCA) Exam Prep
- Storage Sprint: Eight Questions On Layers, Drivers And Volumes — Docker Certified Associate (DCA) Exam Prep
- Friday, Nine In The Morning: The Mock Exam And Its Report — Docker Certified Associate (DCA) Exam Prep