OpenParable
Skip to content
← Back to skills

Cis Docker 2.6

DevOps & Security
cis-docker-2.6

Cis Docker 2.6 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Ensure aufs storage driver is not used

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Server_Software/Docker/CIS_Docker_Benchmark_v1.8.0/cis-docker-2.6/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-docker-2-6, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Ensure aufs storage driver is not used (Manual)

Profile Applicability

• Level 1 - Docker - Linux

Description

Do not use aufs as the storage driver for your Docker instance.

Rationale

The aufs storage driver is the oldest storage driver used on Linux systems. It is based on a Linux kernel patch-set that is unlikely in future to be merged into the main OS kernel. The aufs driver is also known to cause some serious kernel crashes. aufs only has legacy support within systems using Docker.

Most importantly, aufs is not a supported driver in many Linux distributions using latest Linux kernels and has also been deprecated with Docker Engine release 20.10.

Impact

aufs is the only storage driver that allows containers to share executable and shared library memory. It might be useful if you are running thousands of containers with the same program or libraries, however its use should be reviewed in line with your organization's security policy.

Audit Procedure

Execute the below command and verify that aufs is not used as storage driver:

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

The above command should not return aufs.

Remediation

Do not explicitly use aufs as storage driver.

For example, do not start Docker daemon as below:

dockerd --storage-driver aufs

Default Value

By default, Docker uses overlay2 as the storage driver on most of the platforms. The default storage driver can vary based on your OS vendor. You should use the storage driver that is recommended by your preferred vendor and which is in line with policy around the applications which are being deployed.

References

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

CIS Controls

Controls Version: v8

Control: 16 Application Software Security

Manage the security life cycle of in-house developed, hosted, or acquired software to prevent, detect, and remediate security weaknesses before they can impact the enterprise.

IG 1: IG 2: IG 3:


Controls Version: v7

Control: 18 Application Software Security

Application Software Security