hardening-docker-containers-for-production - Harden Docker containers for production environments.
Applies CIS Docker Benchmark v1.8.0 security controls to Docker daemon, images, runtime, and host auditing to reduce attack surfaces.
Tags
Updated: 2026-09-17Capabilities
What this skill does
- Harden Dockerfile configurations
- Configure Docker daemon security
- Apply container runtime security controls
- Enable Docker Content Trust
- Configure host-level audit rules
- Validate container security using linters
Inputs
- Dockerfile
- Docker daemon configuration file
- Seccomp security profile
- Docker images
Outputs
- Hardened Dockerfile
- Hardened daemon.json file
- Signed Docker images
- Host audit rules
- Audit and lint reports
Requirements
- Docker Engine 24.0+
- Docker Compose v2
- Linux host with kernel 5.10+
- Root or sudo access
- docker-bench-security tool
- Hadolint tool
- Dockle tool
