Pcornel
Browse topics
Options
Recent
Favorites
Containers · Technical reference

Images & Registries

Direct answer

Images are layered, read-only filesystems plus metadata, stored in registries (Docker Hub, GHCR, ECR, Harbor) and referenced by name:tag or immutable digest.

When to use this

Use it when pulling, pushing or choosing images, or when an image pull fails.

First 30 seconds

1. docker pull <image> / pod events — error (auth, not found, rate limit, TLS)?

2. Digest: docker image inspect <img> --format '{{.RepoDigests}}'.

3. Registry login: docker login <registry> / imagePullSecrets.

4. Scan: trivy image <img>.

5. Push to the intended repository.

Operational verification

build → tag → push to registry → pull by tag/digest → run

Evidence · next step

A successful pull does not prove the intended version was selected, a familiar tag does not prove immutability, and a signed image does not prove its runtime configuration or application behavior is safe. Mirror/cache behavior can also make stale content look like an origin issue. Preserve the first divergent observation and repeat the same bounded verification after remediation.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
What not to infer

Containers owns image/registry mechanics. Security owns policy decisions about trust, signing requirements and vulnerability acceptance; Automation owns promotion pipelines.

Platform / version applicability
Docker / containerd / Podman / Kubernetes / OCI-compatible platforms
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformDocker / containerd / Podman / Kubernetes / OCI-compatible platforms · Containers owns image/registry mechanics. Security owns policy decisions about trust, signing requirements and vulnerability acceptance; Automation owns promotion pipelines.
Scope / prerequisiteUse it when pulling, pushing or choosing images, or when an image pull fails.
What next?3 suggested next steps
Child topics (this level)4
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification workflow Verify boundary

Resolve the exact registry/repository reference, compare tag and digest, inspect authentication scope, pull the image, and verify the digest that reached the runtime. For production promotion, preserve provenance/signature/SBOM metadata separately from the fact that a registry accepted a push.

Step 2 Failure signatures and limits Narrow the fault

A successful pull does not show the intended version was selected, a familiar tag does not show immutability, and a signed image does not show its runtime configuration or application behavior is safe. Mirror/cache behavior can also make stale content look like an origin issue.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

test · 1
Drill down

Subtopics

Go one level deeper into this subject.

Key points

Pin production images by digest or immutable tags. Use a private registry or mirror to avoid rate limits. Scan and sign images before deployment.

Key checks
  • docker image ls --digests — local images with digests
  • docker ps -a — containers and exit codes
  • docker logs <c> — container output
  • docker inspect <c> — config, mounts, network, state
ReferenceWhat it is1 section · depth on demand

Operating model

Images & Registries covers how immutable image content is assembled, named, transferred and trusted. Layers are content-addressed building blocks; tags are mutable names, while digests identify specific image manifests/content. Registry access therefore has both transport/authentication concerns and supply-chain identity concerns.

ReferenceHow it works1 section · depth on demand

In depth

Images package an application with everything it needs to run, built from a Dockerfile (or similar) as a stack of read-only layers. Registries store and distribute them. Image design affects size, security and how reproducible deployments are.

Good image practice:

PracticeReason
Small base images (distroless, alpine, slim)Fewer vulnerabilities, faster pulls
Multi-stage buildsBuild tools stay out of the final image
Pinned base versions or digestsReproducible builds
Non-root USERLess privilege at runtime
No secrets in layersLayers are readable by anyone who can pull
Scan and signTrivy/Grype, cosign
Immutable tags, deploy by digestWhat runs equals what was tested
FROM python:3.12-slim AS build
WORKDIR /src
COPY requirements.txt .
RUN pip install --prefix=/install -r requirements.txt
FROM python:3.12-slim
COPY --from=build /install /usr/local
COPY app/ /app
USER 10001
ENTRYPOINT ["python", "/app/main.py"]
docker build -t registry.example.com/net-api:1.4.0 .
docker image inspect --format '{{.RepoDigests}}' registry.example.com/net-api:1.4.0
ReferenceImportant terms & boundaries1 section · depth on demand

Scope map

  • Image layers and copy-on-write
  • Tags vs immutable digests
  • Pull/push workflows
  • Registry authentication
  • Private registries and mirrors
  • Image provenance, signing and SBOM boundaries
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical examples

Configuration & expected output

Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.

Configuration example

Docker / OCI registry Docker Engine 24 or laterTag an image by version and digest, push it and pull by digest.

Assumptions: You are logged in to the registry. Replace registry and repository names.

docker build -t registry.example.com/team/app:1.4.2 .
docker push registry.example.com/team/app:1.4.2
docker pull registry.example.com/team/app@sha256:<digest>

Expected output

Docker / OCI registry Docker Engine 24 or laterdocker image inspect registry.example.com/team/app:1.4.2 --format '{{index .RepoDigests 0}}'

Expected state: The local tag resolves to the same digest the registry returned on push.

registry.example.com/team/app@sha256:3f1c9a0e5b7d2c4a8e6f1b0d9c7a5e3f2b1d0c9a8e7f6d5c4b3a2f1e0d9c8b7a
A tag can be moved; the digest cannot. Deploy by digest when you must know exactly which image runs. Illustrative authored output: field layout matches the tool, values will differ in your environment.
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-29 · otherOCI / Docker / containerd / Kubernetes OCI Image Specification

Documentation verification: confirms the upstream model used by the Topic. It does not assert local production behavior.

Basis: https://specs.opencontainers.org/image-spec/ · confidence 92%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
images & registriescontainer image registryimage digestOCI registry
Embedded reference data

Quick lookup tables

Images & Registries verification boundary matrix

A compact lookup separating intent, owning component state, effective state and consumer-visible outcome for Images & Registries.

BoundaryInspectHealthy interpretationDo not infer
IntentImage layers and copy-on-writeIntended object/scope is explicit and versioned where relevantIntent is already effective
Owning runtime/control planeTags vs immutable digests / Pull/push workflowsOwner accepts and reports the expected object stateDownstream dependencies are healthy
Effective stateRegistry authenticationIndependent read-back matches the intended stateEvery client sees the same result
Consumer outcomePrivate registries and mirrorsThe original bounded check succeeds in the same time windowProduction correctness outside this scope
Depth when you need it

Deep reference

Design & tradeoffs

Scope

Containers owns image/registry mechanics. Security owns policy decisions about trust, signing requirements and vulnerability acceptance; Automation owns promotion pipelines.

Confirmation

Confirm action

Continue?