Pricing Insights
Book a demo

Container security

Container security: scanning images and the runtime environment

Container security is the checking of Docker images and the environment they run in. An image carries an operating system and libraries with it, and each of them may contain known vulnerabilities.

A common situation: the application code is clean, but the base image has not been updated for a long time and brings dozens of critical CVEs.

How it works

  • Scan the image layers: OS packages and language libraries for known vulnerabilities.
  • Check the Dockerfile: running as root, unnecessary packages, secrets in layers.
  • Use minimal base images (distroless, alpine) and rebuild regularly.
  • Admission policies in the cluster: do not run images with critical vulnerabilities or without a signature.

Tools

TrivyGrypeDocker ScoutClair