Interview Prep/Docker/Image Security & Hardening

How do you prevent a `latest` or unscanned image from reaching the cluster?

AdvancedProductionImage Security & Hardening
Answer

Admission control: Kyverno or OPA Gatekeeper policies that require images from approved registries, pinned by digest, signed by cosign, with a recent scan attestation. Example Kyverno verifyImages rule with the CI's OIDC identity. Pair with ECR repository policies that block pushes without required tags.

All Docker questions Roadmap: Docker & containers

More on Image Security & Hardening