# Cis Docker 1.1.2

> Ensure only trusted users are allowed to control Docker daemon

- Skill: `cyberstrikeus/cis-docker-1-1-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cyberstrikeus/cis-docker-1-1-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cyberstrikeus/cis-docker-1-1-2/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: cyberstrikeus (https://skillmd.com/u/cyberstrikeus)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/cyberstrikeus/cis-docker-1-1-2

---


# Ensure only trusted users are allowed to control Docker daemon (Manual)

## Description

The Docker daemon currently requires access to the Docker socket which is, by default, owned by the user `root` and the group `docker`.

## Rationale

Docker allows you to share a directory between the Docker host and a guest container without limiting the access rights of the container. This means that you can start a container and map the `/` directory on your host to the container. The container would then be able to modify your host file system without any restrictions. This means that you could gain elevated privileges simply by being a member of the `docker` group and subsequently start a container which maps the root `/` directory on the host.

## Impact

Provided the proceeding instructions are implemented, rights to build and execute containers as normal user would be restricted.

## Audit

Execute the following command on the docker host and ensure that only trusted users are members of the `docker` group.

```bash
getent group docker
```

## Remediation

You should remove any untrusted users from the `docker` group. Additionally, you should not create a mapping of sensitive directories from the host to container volumes.

## Default Value

Not Applicable

## References

1. https://docs.docker.com/engine/security/#docker-daemon-attack-surface
2. http://www.projectatomic.io/blog/2015/08/why-we-dont-let-non-root-users-run-docker-in-centos-fedora-or-rhel/

## CIS Controls

**Controls Version | Control | IG 1 | IG 2 | IG 3**

v8 | 6.1 Establish an Access Granting Process
Establish and follow a process, preferably automated, for granting access to enterprise assets upon new hire, rights grant, or role change of a user. | ● | ● | ●

v7 | 4 Controlled Use of Administrative Privileges
Controlled Use of Administrative Privileges | | |

## Profile

• Level 1 - Docker - Linux

