Image Scanning
Image scanning is the process of analyzing container images to identify known security vulnerabilities and risks before or after deployment. It examines the contents of a container image, including its base layers and installed packages, to flag issues that could be exploited. This practice is typically integrated into CI/CD pipelines, container registries, and runtime environments.
Container image scanning involves static analysis of container image layers and their constituent components, including operating system packages, application libraries, and configuration files, against known vulnerability databases to identify CVEs and security risks. Scanning may be performed at multiple points in the container lifecycle, including during CI builds, within image registries, and against deployed containers at runtime. Static image scanning can identify known vulnerabilities in packaged software components present in the image, but typically cannot detect vulnerabilities that manifest only through runtime behavior, misconfigurations that depend on deployment context, or zero-day vulnerabilities not yet present in reference databases. Known false negative categories include vulnerabilities in unpacked or non-standard package formats, and issues introduced at runtime rather than baked into the image. Scope boundaries generally cover declared dependencies and installed packages within the image filesystem rather than dynamic or network-level exposures.
Why it matters
Container images are the fundamental unit of deployment in modern cloud-native environments, and vulnerabilities present in an image at build time will be carried into every environment where that image runs. Because images bundle an operating system base layer, system libraries, and application dependencies together, a single unpatched package can expose all containers derived from that image to known exploits. Catching these issues before deployment is substantially less costly and disruptive than responding to them in production.
Who it's relevant to
Inside Image Scanning
Common questions
Answers to the questions practitioners most commonly ask about Image Scanning.