Interview Prep/Docker/Image Security & Hardening

What does `--security-opt=no-new-privileges` NOT stop?

IntermediateProductionImage Security & Hardening
Answer

It does not stop kernel exploits, access via mounted sockets or host paths, abuse of capabilities already granted, or attacks from root with CAP_SYS_ADMIN. It is one layer; combine with dropped caps, seccomp, read-only FS and user namespaces.

All Docker questions Roadmap: Docker & containers

More on Image Security & Hardening