Cis Docker 2.7
DevOps & Securitycis-docker-2.7Cis Docker 2.7 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 devicemapper storage driver is not used
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
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.7/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-docker-2-7, 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 devicemapper storage driver is not used (Manual)
Profile Applicability
• Level 1 - Docker - Linux
Description
Do not use devicemapper as the storage driver for your Docker instance.
Rationale
The devicemapper storage driver is deprecated in favor of overlay2, and has been removed in Docker Engine v25.0.
Impact
If you are using Device Mapper, you must migrate to a supported storage driver before upgrading to Docker Engine v25.0.
Audit Procedure
Execute the below command and verify that devicemapper is not used as storage driver:
docker info --format 'Storage Driver: {{ .Driver }}'
The above command should not return devicemapper.
Remediation
Do not explicitly use devicemapper as storage driver.
For example, do not start Docker daemon as below:
dockerd --storage-driver devicemapper
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
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