Skip to main content

Docker

The CIS Docker Benchmark from the CIS Benchmarks defines secure configuration requirements for Docker hosts, the Docker daemon, images, and containers. Chef Premium Content provides these requirements as a Chef InSpec audit profile, without remediation content.

What the benchmarks check

The benchmark organizes its requirements into the following areas:

  • Host configuration: The host that runs Docker
  • Docker daemon configuration: Settings for the Docker daemon
  • Docker daemon configuration files: Ownership and permissions on the daemon’s files
  • Container images and build files: How images are built and maintained
  • Container runtime: How containers are started and what they can access
  • Docker security operations: Ongoing security operations
  • Docker Swarm configuration: Swarm settings, where Swarm is in use

The exact requirements differ by benchmark version.

Supported versions

BenchmarkAudit versionsRemediation versionsCoverage
CIS Dockerv2.1.0—Audit Only

See how to read the coverage tables for what each coverage term means.

Available profiles

The benchmark ships as one Chef InSpec profile, cis-docker-benchmark, at benchmark v2.1.0.

What you can do with this content

Audit

Run the audit profile with Chef InSpec to assess Docker against the benchmark and report which requirements pass and which fail.

Detect drift

A Docker host that passed an audit doesn’t stay compliant on its own, because upgrades and configuration changes can move it away from its approved state. Running the audit profile on a schedule turns a one-time assessment into continuous evidence.

Remediation

CIS Docker is audit only. You can assess Docker and act on the findings, but matching remediation content isn’t available, so plan to correct failed requirements with your own tooling.

Write your own Docker checks

For checks that the benchmark doesn’t cover, you can write your own controls with the Docker resource pack. A resource pack isn’t a benchmark and doesn’t assess anything on its own.

Access this content

Chef Premium Content is part of the Chef Enterprise entitlement. See Progress Chef Enterprise Edition for what the entitlement includes, and contact your Chef account representative to confirm your access.

Thank you for your feedback!

×