Skip to content

Container image

A container image is a read-only, layered archive that bundles a filesystem and metadata (entrypoint, env, labels) so a container runtime can execute it; every layer is content-addressed by SHA-256 digest.

Definition

What it is

An image is a stack of layers. Each layer is a tarball with a diff_id (content hash). The manifest references the layers by digest and adds the config (env, cmd, entrypoint, user, exposed ports). The image itself is identified by a manifest digest, immutable.

Why it matters

The image is the artifact that crosses build → registry → runtime unchanged. "Build once, deploy many" depends on the image digest, not on the tag.

Connections

Sources