Skip to content
Back to skills

Cis Docker V170 7.1

ASecurity

Ensure that the minimum number of manager nodes have been created in a swarm

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

Security analysis

A100/100

Scanned September 3, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Cis Docker V170 7.1?

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

Security grade badge for Cis Docker V170 7.1
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyberstrikeus-cis-docker-v170-7-1/badge)](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-docker-v170-7-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-v170-7.1
description: "Ensure that the minimum number of manager nodes have been created in a swarm"
category: cis-docker
version: "1.7.0"
author: cyberstrike-official
tags: [cis, docker, swarm, high-availability, manager-nodes]
cis_id: "7.1"
cis_benchmark: "CIS Docker Benchmark v1.7.0"
tech_stack: [docker]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---

# CIS Docker Benchmark v1.7.0 - Control 7.1

## Profile Applicability

- **Level:** 1
- **Type:** Manual
- **Platform:** Docker Swarm

## Description

You should ensure that the minimum number of required manager nodes is created in a swarm.

## Rationale

Manager nodes within a swarm have control over the swarm and can change its configuration, including modifying security parameters. Having excessive manager nodes could render the swarm more susceptible to compromise.

If fault tolerance is not required in the manager nodes, a single node should be elected as a manger. If fault tolerance is required then the smallest odd number to achieve the appropriate level of tolerance should be configured. This should always be an odd number in order to ensure that a quorum is reached.

## Impact

None

## Audit Procedure

Run `docker info` and verify the number of managers.

```bash
docker info --format '{{ .Swarm.Managers }}'
```

Alternatively run the below command.

```bash
docker node ls | grep 'Leader'
```

## Remediation

If an excessive number of managers is configured, the excess nodes can be demoted to workers using the following command:

```bash
docker node demote <ID>
```

Where <ID> is the node ID value of the manager to be demoted.

## Default Value

Only a single manager is required to start a given cluster.

## References

1. https://docs.docker.com/engine/swarm/manage-nodes/
2. https://docs.docker.com/engine/swarm/admin_guide/#add-manager-nodes-for-fault-tolerance

## CIS Controls

**v8:**

- **4 Secure Configuration of Enterprise Assets and Software**
  - Establish and maintain the secure configuration of enterprise assets (end-user devices, including portable and mobile; network devices; non-computing/IoT devices; and servers) and software (operating systems and applications).

**v7:**

- **5.1 Establish Secure Configurations**
  - Maintain documented, standard security configuration standards for all authorized operating systems and software.

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…