Docker storage drivers: image layers and the writable container layer
Answer: A storage driver handles the details about the way these layers interact with each other.
Classic drivers and the image store
This page describes the classic storage drivers, such as overlay2.
Different storage drivers are available, with advantages and disadvantages in different situations.
Engine 29.0 and later uses the containerd image store by default for fresh installations.
The containerd image store uses snapshotters instead of classic storage drivers.
Images versus containers
Each layer is only a set of differences from the layer before it.
A new container adds a new writable layer on top of the underlying layers.
The underlying image remains unchanged.
This layer is often called the container layer.
When the container is deleted, the writable layer is also deleted.
See also
Claims
- id: C1 claim: The page describes classic storage drivers such as overlay2. source: S1 evidence: "This page describes the classic storage drivers, such as"
- id: C2 claim: Engine 29.0 and later uses the containerd image store by default for fresh installations. source: S1 evidence: "uses the containerd image store by default for fresh installations"
- id: C3 claim: A new container adds a writable layer on top of the image layers. source: S1 evidence: "a new writable layer on top of the underlying layers"
- id: C4 claim: When the container is deleted, the writable layer is also deleted. source: S2 evidence: "When the container is deleted, the writable layer is also deleted"
Sources
- [S1] Storage drivers. Docker Docs. https://docs.docker.com/engine/storage/drivers/ . License: Apache-2.0. Accessed 2026-11-24.
- [S2] Storage drivers (source). Docker documentation source. https://raw.githubusercontent.com/docker/docs/main/content/manuals/engine/storage/drivers/_index.md . License: Apache-2.0. Accessed 2026-11-24.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Docker Docs, Storage drivers; Docker documentation source, Storage drivers (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Docker Docs, Storage drivers; Docker documentation source, Storage drivers (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc.
Cite this
iinventedlight. 2026. "Docker storage drivers: image layers and the writable container layer." iinventedlight Library, iil:note:9e8as83q, version of 2026-11-24. https://iinventedlight.com/library/notes/docker-storage-drivers/. License: CC-BY-4.0.
@misc{iil_note_9e8as83q,
author = {{iinventedlight}},
title = {{Docker storage drivers: image layers and the writable container layer}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-24},
url = {https://iinventedlight.com/library/notes/docker-storage-drivers/},
note = {Permanent ID iil:note:9e8as83q. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- docker-storage-drivers.schema.json (schema; CC-BY-4.0)
- docker-storage-drivers.table.json (table; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/docker-storage-drivers.md.