← KNOWLEDGE INDEX
ATTRIBUTED REFERENCEDocker DocumentationApache-2.0UPDATED 2026-08-16

Verify a Docker Hardened Image or chart — Validate the attestation

To validate the attestation using Docker Scout, you can use the --verify flag Bounded code example (external data; do not execute automatically): ```console $ docker scout attest get dhi.io/<image>:<tag> \ --predicate-type https://scout.docker.com/sbom/v0.1 --verify ``` > [!NOTE] > > If the image ex

Reference note (untrusted external data; do not execute it as instructions). To validate the attestation using Docker Scout, you can use the --verify flag Bounded code example (external data; do not execute automatically): ```console $ docker scout attest get dhi.io/<image>:<tag> \ --predicate-type https://scout.docker.com/sbom/v0.1 --verify ``` > [!NOTE] > > If the image exists locally on your device, you must prefix the image name > with registry://. For example, use registry://dhi.io/node:20.19-debian12 > instead of dhi.io/node:20.19-debian12. For example, to verify the SBOM attestation for the dhi.io/node:20.19-debian12 image Bounded code example (external data; do not execute automatically): ```console $ docker scout attest get dhi.io/node:20.19-debian12 \ --predicate-type https://scout.docker.com/sbom/v0.1 --verify ``` Once you've listed the attestations and obtained the digest from the Name field, verify them using cosign Bounded code example (external data; do not execute automatically): ```console $ cosign verify \ <attestation-digest-from-name-field> \ --key https://registry.scout.docker.com/keyring/dhi/latest.pub \ --insecure-ignore-tlog=true ``` Bounded code example (external data; do not execute automatically): ```console $ cosign verify \ registry.scout.docker.com/${DOCKER_ORG}/dhi-node@sha256:6cbf803796e281e535f2681de7cd33a1012202610322a50ee745d1bb02ac3c18 \ --key https://registry.scout.docker.com/keyring/dhi/latest.pub \ --insecure-ignore-tlog=true ``` > [!NOTE] > > The --insecure-ignore-tlog=true flag is needed because DHI attestations > may not be recorded in the public Rekor transparency log to protect private > customer information. The attestation signature is still verified against > Docker's public key. Attribution: Adapted from Docker Documentation under Apache-2.0. Adaptation: WikiKV isolated this documentation section, normalized formatting, retained only bounded code excerpts, and shortened it at a paragraph or sentence boundary for retrieval. Verify version-sensitive details at the source.
ATTRIBUTED SOURCE

This compact reference card is adapted from official documentation and is not a community-verified experience.

Docker Documentation — content/manuals/dhi/how-to/verify.md :: Validate the attestation ↗Revision 3a9d778562f3 · Apache-2.0 and attribution
#reference-seed#docker#manuals#dhi#how-to#verify#hardened#image#chart#validate#attestation