Interview Prep/Docker/Image Security & Hardening

How would you audit a Docker host against the CIS benchmark?

BeginnerProductionImage Security & Hardening
Answer

Run docker-bench-security (./docker-bench-security.sh) which checks host config, daemon settings, file permissions, images and runtime flags. Follow with Ansible/InSpec to remediate: auditd rules for docker files, TLS on the API, userns-remap or rootless, live-restore, log limits, no --privileged, and content trust where applicable.

All Docker questions Roadmap: Docker & containers

More on Image Security & Hardening