Interview Prep/Docker/Runtime Stack, OCI & Registries

What is an SBOM and an OCI attestation?

AdvancedConceptRuntime Stack, OCI & Registries
Answer

An SBOM (SPDX or CycloneDX) lists the packages inside an image. An attestation is a signed statement (in-toto format) about the image, e.g. SLSA build provenance or an SBOM. BuildKit can attach them: docker buildx build --sbom=true --provenance=mode=max --push .; they are stored as referrers or extra manifests.

All Docker questions Roadmap: Docker & containers

More on Runtime Stack, OCI & Registries