← All notes

Docker overlay2: the OverlayFS storage driver

Answer: OverlayFS is a union filesystem. Docker's classic storage driver for it is named overlay2.

Layers

The page refers to the Linux kernel driver as OverlayFS. The Docker storage driver is called overlay2.

Two directories on one Linux host are layered and then presented as a single directory.

The lower layer is lowerdir. The upper layer is upperdir.

A directory named merged exposes the unified view.

Up to 128 lower OverlayFS layers are supported natively by overlay2.

Requirements

The page is about classic overlay2, not the containerd image store snapshotter.

Linux kernel 4.0 or higher is a prerequisite, as is a listed RHEL or CentOS kernel.

On xfs backing filesystems, d_type must be true.

If you change the storage driver, existing local containers and images become inaccessible.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Docker Docs, OverlayFS storage driver; Docker documentation source, OverlayFS storage driver (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, OverlayFS storage driver; Docker documentation source, OverlayFS storage driver (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc.

Cite this

Permanent ID: iil:note:n02xdvb6

iinventedlight. 2026. "Docker overlay2: the OverlayFS storage driver." iinventedlight Library, iil:note:n02xdvb6, version of 2026-11-24. https://iinventedlight.com/library/notes/docker-overlayfs/. License: CC-BY-4.0.

@misc{iil_note_n02xdvb6,
  author = {{iinventedlight}},
  title = {{Docker overlay2: the OverlayFS storage driver}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-24},
  url = {https://iinventedlight.com/library/notes/docker-overlayfs/},
  note = {Permanent ID iil:note:n02xdvb6. License: CC-BY-4.0.},
}

Markdown

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.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/docker-overlayfs.md.