Docker & Containers
Vulnerability scanning
Explain how a vulnerability scanner matches an image's SBOM against a database, why a clean scan is not proof of safety, and how to read findings with their fixes.
What you will be able to do
- Read a scan result by package, fixed version and exposure before choosing an action.
- Compare two scans after a rebuild to see what was added or removed.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Docker & Containers
- Image signingAdvanced · 4 min
Explain what Docker Content Trust checks at pull time, why a valid signature is not proof of safety, and why deploys should record a digest.
- SBOM generationAdvanced · 4 min
Explain what an SBOM lists, how BuildKit attaches one to an image as an SPDX attestation, and how to check that it describes the image you deploy.
- Volumes and bind mountsAdvanced · 4 min
Explain why a container's writable layer is lost with the container, how named volumes and bind mounts keep data, and how to choose between them.
- Container storage driversAdvanced · 4 min
Explain what a storage driver does with image layers and the writable layer, why copy-on-write makes some writes slow, and how to read disk use per node.
- Compose deploymentsAdvanced · 4 min
Explain how a Compose file declares services, startup order and healthchecks, and why depends_on alone waits only for a running container, not a ready one.
- Debugging a containerAdvanced · 4 min
Explain how to read a container's recorded state and logs, why exec needs a shell and a running process, and how a debug container can share namespaces.