Skip to content
Opsfolk

Security, topic 31 of 41

Image security

An image carries every package of its base, and their vulnerabilities with them. Start from an official, verified or hardened base, keep it small, and rebuild regularly so that fixes reach you.

Scan images for known vulnerabilities with Docker Scout or a tool such as Trivy or Grype, in CI as well as on your machine, and read the results: a finding in a package your program never loads matters less than one in what it runs.

On Opsfolk

Nothing of ours for this topic yet: an article is on its way.

Elsewhere

Your progress