Docker Container Internals

OCI layer changesets and whiteouts

A whiteout hides a lower entry from the merged view; it does not erase the old layer blob. Whiteouts hide earlier-layer paths; the flat model excludes same-layer duplicate paths and directories.

Formal Syntax & Structure

docker syntaxdocker
Ordered layer application / .wh.NAME

Working Example

Example Snippetdocker
L1: old.txt; L2: .wh.old.txt.
Docker Reference