OCI image, distribution and runtime specifications
Worked example
This is an offline lesson. Data are fictional and Docker commands are unexecuted. Any optional execution requires an authorized disposable VM, a verified context, synthetic data, restricted access and no external transmission. Do not collect secrets or private output. Treat the worksheet as offline evidence. Before any separately authorized server query, verify the effective endpoint and its trust boundary, including context overrides. Do not change runtime state, mount host data or modify Desktop settings in this exercise.
Conceptual mapping, not a valid OCI artifact:Image index -> platform manifest -> config descriptor + ordered layer descriptorsDistribution -> registry transfers manifests and blobsUnpack selected image -> rootfsRuntime bundle -> config.json + referenced rootfsRuntime lifecycle -> created -> running -> stoppedAn image manifest links to a configuration and ordered layer blobs using descriptors that include media type, size and digest. An image index can reference platform-specific manifests. The image configuration describes execution defaults and root filesystem diff IDs. The distribution specification describes registry-facing artifact operations. A runtime bundle contains a runtime configuration and the referenced filesystem; its config.json is not the image configuration blob. The runtime config describes process arguments, mounts and platform-specific isolation. Docker chooses and translates defaults and overrides into runtime configuration. A digest identifies bytes, not a guarantee of application compatibility, authorization or provenance. For example, an ARM64 image may need an ARM64 host or supported emulation, and an application still needs appropriate kernel features. The digest of a compressed layer descriptor need not equal its uncompressed DiffID. An image config contains defaults; the generated runtime configuration describes the actual requested execution. The diagram is a teaching map, not a schema-valid artifact.
Common mistake
Do not feed image configuration JSON directly to a runtime as its bundle config.json.
Manual practice
Draw the three specification boundaries and label which document contains process arguments for execution. Identify why a matching digest does not prove portability.
Worksheet: lab-fixtures/docker-container-internals/04-oci-specifications/scenario.txt.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
OCI image, distribution and runtime specifications — Knowledge check
Interpret synthetic runtime and isolation evidence and explain kernel and OCI boundaries.
What links an image config and layer descriptors?
Which file describes runtime bundle execution?
What does a verified content digest establish?