Skip to content
Back to skills

Cis Docker 2.1

ASecurity

Run the Docker daemon as a non-root user, if possible

  • 2,182 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
securitygobashdockersecuritydocumentation

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add CyberStrikeus/CyberStrike --skill cis-docker-2.1 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cis Docker 2.1?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cis Docker 2.1
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyberstrikeus-cis-docker-2-1/badge)](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-docker-2-1)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cis-docker-2.1
description: "Run the Docker daemon as a non-root user, if possible"
category: cis-docker
version: "1.8.0"
author: cyberstrike-official
tags: [cis, docker, linux, containers, daemon-configuration, rootless, privileges]
cis_id: "2.1"
cis_benchmark: "CIS Docker Benchmark v1.8.0"
tech_stack: [linux, docker]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---

# Run the Docker daemon as a non-root user, if possible (Manual)

## Profile Applicability

• Level 1 - Docker - Linux

## Description

Rootless mode executes the Docker daemon and containers inside a user namespace, with both the daemon and the container are running without root privileges.

## Rationale

Rootless mode allows running the Docker daemon and containers as a non-root user to mitigate potential vulnerabilities in the daemon and the container runtime.

## Impact

There are multiple prerequisites depending on which distribution that is in use, and also known limitations regarding networking and resource limitation.

Running in rootless mode also changes the location of any configuration files in use, including all containers using the daemon.

## Audit Procedure

Running the following command will show any running `dockerd` processes and which user that is managing the daemon.

```bash
ps -fe | grep 'dockerd'
```

## Remediation

Follow the current Docker documentation on how to install the Docker daemon as a non-root user.

## Default Value

The Docker daemon is running as the `root` user by default.

## References

1. https://docs.docker.com/engine/security/rootless/

## CIS Controls

**Controls Version:** v8

**Control:** 4.1 Establish and Maintain a Secure Configuration Process

Establish and maintain a secure configuration process for enterprise assets (end-user devices, including portable and mobile, non-computing/IoT devices, and servers) and software (operating systems and applications). Review and update documentation annually, or when significant enterprise changes occur that could impact this Safeguard.

**IG 1:** ●
**IG 2:** ●
**IG 3:** ●

---

**Controls Version:** v7

**Control:** 4 Controlled Use of Administrative Privileges

Controlled Use of Administrative Privileges

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…