Skip to content

Verify an image

A tag can in principle be moved; a digest cannot. Record both.

docker pull firesimulations/REPO:TAG
docker image inspect firesimulations/REPO:TAG --format '{{json .RepoDigests}}'
docker image inspect firesimulations/REPO:TAG --format '{{json .Config.Labels}}'

Compare the digest with the one in the release note of that tag. To pull by digest (byte-exact):

docker pull firesimulations/REPO@sha256:DIGEST

Every image contains a smoke test: docker run --rm firesimulations/REPO:TAG bash /opt/tests/smoke.sh (the manual says how to run it for images with a program as entrypoint).