Loading tutorials
jq. The earlier chapter covered why supply chain metadata matters. This one covers the SBOM itself: what the document is, what it contains, and how to read it.5 min readjq. Later chapters cover how to generate and inspect attestations in detail6 min readjq and know that an image has a content digest. Here you will learn what a BuildKit attestation looks like on the inside and why it is described as "signed-re5 min readdocker build, push to a registry, and read JSON with jq. It also assumes you know that an SBOM lists software components and that provenance describes how an artifact was built. Here you learn which component creates those records, which compo4 min readdocker buildx build. It covers the two flag styles, what each option changes, and the settings that make a build fail or silently produce nothing. It assumes you can write a Dockerfile, push to a registry, and read JSON with `jq5 min readdocker buildx build, know what an image index (a manifest list) is, and5 min readjq, know the difference between a tag and a digest, and have pus6 min readdocker buildx build, push to a registry, and filter JSON with jq. It also assumes the image was built with --sbom=true and --provenance=mode=max (or `-5 min readdocker buildx build, and that you know how to read JSON with jq. Earlier chapters covered how provenance is attached to an image index. Here you decide how much detail the provenance attestation should record.5 min readdocker buildx build --sbom=true. It covers how the scanner behind that flag produces its package list. It also covers which kinds of software end up missing from that list, because you can't treat an SBOM as complet5 min readdocker buildx build --sbom=true, and can inspect it with docker buildx imagetools inspect and jq. It covers the two build arguments that change what the scanner looks at, BUILDKIT_SBOM_SCAN_STAGE 5 min readdocker buildx build. It also assumes you know that BuildKit stores SBOM and provenance attestations in the image index, and that you can read JSON with jq. The previous chapter covered the limits of unsigned attestations. This one covers th5 min read--sbom=true and --provenance=mode=max, push it, and read the result with docker buildx imagetools inspect. It also assumes you know that an image tag points to an index, and that the index points to manifests by digest. The goal here is 7 min read