RTFM_ security field notes

Docker images: history, layers and limits

Read image evidence without confusing build history, retained content and a running workload.

An image review can expose useful build context. It does not, by itself, establish which image a workload runs, what is mounted into it or which credentials it can currently use.

Start with an attributable image

Record the supplied image identity, platform and provenance in the approved assessment workspace. A mutable tag alone is not a durable reference to the bytes being reviewed.

Keep three questions distinct: what the recorded build history says, what the retained image content contains, and what an actual deployment uses.

Read history as history

For an image already present in an approved local daemon’s store, an illustrative inspection command is:

docker image history --no-trunc IMAGE

The Docker CLI reference describes this as image history, with fields including creation information, command and size. It is not a comprehensive credential detector or proof that an image contains a particular file. history

The client may use a configured remote daemon; “local command” does not guarantee local access. Verify the actual execution context before using it. The untruncated output may contain sensitive build material and must not be pasted into this wiki.

Investigate retained content separately

The legacy RTFM note points to layer inspection with Dive. Treat that as a separate analysis of retained image material, not a conclusion supplied by the history command. Removing something in the final filesystem view is not a sufficient review of all retained build artifacts.

No image was inspected for this documentary adaptation. Any actual finding needs the relevant supplied artifact, its integrity and the exact bytes that support the claim.

Do not conflate an image with a registry

A registry has its own implementation, authentication and authorization policy. The legacy catalog URL and presumed port are not universal service properties, nor permission to enumerate a registry. No endpoint is supplied or contacted by this guide.

Sources and adaptation

docker-history — Docker image history reference, read 2026-11-20, supports the history command’s purpose and fields.

rtfm-legacy-docker — 4_systeme/4_containers/docker.md. Layer-analysis and registry questions are retained, but the registry endpoints and extraction sequence are not reproduced. Dive is an index association from that source, not a claim that it was executed or independently evaluated.

Provenance and confidence
Version
1
Sources reviewed
2026-11-20
Confidence
medium — Docker history behavior reviewed against its CLI reference; layer contents, registry policy and deployed workloads were not examined.

Also searched as: docker, image, layers, couches, dive