Docker Container Internals

containerd runtime shim

The shim mediates task lifecycle operations; exact supervision topology depends on runtime and version. Task exit does not imply removal of Docker metadata or image content.

Formal Syntax & Structure

docker syntaxdocker
Engine -> containerd -> shim -> runtime

Working Example

Example Snippetdocker
Synthetic: shim reports task exit.
Docker Reference