storage driver
The part of the Docker daemon that decides how image layers and container writable layers are stored on disk.
In more detail
Most Linux hosts use overlay2; newer Docker releases may use the containerd image store with the overlayfs snapshotter instead. The driver affects performance and some edge cases, such as how file renames across layers behave. Data that matters should live in volumes, which bypass the storage driver.
Related terms
- OverlayFS — The Linux union filesystem Docker uses to stack image layers into a container root directory.
- union filesystem — A filesystem that stacks several directories on top of each other and shows them as one.
- volume — Storage managed by Docker that lives outside any container, so data survives when the container is removed.
- Docker daemon — The background program that owns images, containers, networks and volumes and does the work the docker command asks for.
Taught in
- Docker, OCI, The Engine And The CLI — Docker Architecture & Production Containers
- Three Names, One Image: Listing, Formatting, Tagging And Pruning — Docker Certified Associate (DCA) Exam Prep
- 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