Experimental features should be disabled in production

docker

Classification:

compliance

Framework:

cis-docker

Control:

2.19

Description

The Docker daemon should run with its experimental features off.

Rationale

Experimental features are unfinished, change between releases, and can carry defects that the stable releases fix.

Audit

Check the experimental setting of the server:

docker version --format '{{ .Server.Experimental }}'

Datadog passes the rule when the server reports experimental features off and fails it otherwise.

Remediation

Remove --experimental from the dockerd command line and "experimental": true from daemon.json. Then restart the daemon with systemctl restart docker.

Impact

None.

Default value

Experimental features are off.

References

  1. https://docs.docker.com/reference/cli/dockerd/