For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/default_rules/xci-3xk-aim.md. A documentation index is available at /llms.txt.

The Docker instance should not use AUFS as its storage driver

docker

Classification:

compliance

Framework:

cis-docker

Control:

2.6

Description

Docker should use a storage driver other than aufs.

Rationale

The aufs driver is deprecated, depends on kernel patches that current distributions drop, and has known issues that can crash the kernel.

Audit

Show the storage driver of the daemon:

docker info --format 'Storage Driver: {{ .Driver }}'

Datadog passes the rule when the storage driver is other than aufs and fails it otherwise.

Remediation

Choose a supported storage driver, such as overlay2 or the containerd snapshotter, with storage-driver in daemon.json or --storage-driver. Changing the driver hides the images and containers of the old one.

Impact

Containers and images of the old driver need to be recreated.

Default value

Docker picks a supported driver, overlayfs with the containerd image store of Docker 29.

References

  1. https://docs.docker.com/engine/storage/drivers/aufs-driver/