Interview Prep/Docker/Image Security & Hardening

How do you pick a base image for production?

BeginnerProductionImage Security & Hardening
Answer

Criteria we use: minimal and maintained (official, Chainguard, Distroless, Red Hat UBI), glibc compatibility with our binaries (avoid Alpine for Python/ML wheels), frequent patching cadence, long-term support tag, and signed images. We standardize on two or three approved bases in a platform team's "golden image" repo so patching is centralized.

All Docker questions Roadmap: Docker & containers

More on Image Security & Hardening