Interview Prep/Docker/Image Security & Hardening

What is the difference between vulnerability scanning at build time, registry time and runtime?

BeginnerProductionImage Security & Hardening
Answer

Build-time (CI) stops new issues before publish. Registry scanning (ECR Enhanced scanning with Inspector, Harbor+Trivy) catches CVEs published after the image was built. Runtime tools (Falco, Tetragon, Wazuh) detect behavior like unexpected shells or outbound connections. You need all three, since a clean build can become vulnerable next week.

All Docker questions Roadmap: Docker & containers

More on Image Security & Hardening