openskills.info
Course Preview

Container Image Security

Container image security ensures that the images used to run containers are free from known vulnerabilities, malicious code, and unnecessary attack surface. It covers scanning, provenance verification, minimal base images, and policies that prevent untrusted images from reaching production.

itSoftware supply chain security

Don't Panic — Container Image Security

A container image is the parcel your application travels in: filesystem, libraries, startup settings, and occasionally a surprise that nobody meant to mail. It makes an application portable because the same package can move from a build system to a registry and then to a container runtime. It also means a package, credential, or unsafe default can make the same journey with it.

The trick is to stop treating the image as a mysterious black box with a tag attached. A tag is a handy nickname. A digest is the exact content identifier. If a deployment says app:release, someone can later move that nickname. If it says app@sha256:..., it has selected one manifest. This is less glamorous than it sounds, which is fortunate: reliable delivery depends heavily on dull precision.

Three companions make that precision useful. An SBOM, or software bill of materials, inventories the components. Provenance records how the build was made and which inputs it resolved. A signature lets a verifier check an expected identity against the artifact. These are different receipts for different questions. None turns an image into a magical safety certificate.

That last point is the surprise. A clean scan is not a permanent approval. The image can stay byte-for-byte unchanged while new advisory information changes the assessment. The sensible response is not to perform surgery on a running container like an anxious mechanic. Change the source or build, create a new digest, produce new evidence, then replace the deployment.

Security also begins before scanning. The base image is an upstream dependency, not decorative scaffolding. Build only what needs to ship, keep secrets out of layers, and run as a non-root user when the application supports it. Smaller helps only when it leaves an explainable result. A tiny image from an unknown publisher remains tiny and unknown, which is not a security program.

The course material fills in the machinery. Start with the Intro for image anatomy and the lifecycle. Use Slides for the evidence chain. Keep the Cheatsheet nearby when comparing a digest, SBOM, provenance, signature, scan, and policy decision. The Practice Reference and exercise turn the ideas into observable checks. Field Notes covers the joins and exceptions that make a pipeline behave differently from a reassuring diagram.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources