SV-235848r627671_rule
V-235848
SRG-APP-000516
DKER-EE-005060
CAT II
10
If an excessive number of managers is configured, the excess can be demoted to worker using the following command:
docker node demote <ID>
Where is the node ID value of the manager to be demoted.
Ensure the correct range of manager nodes have been created in a swarm.
via CLI:
Linux: As a Docker EE Admin, follow the steps below using a Universal Control Plane (UCP) client bundle:
Run the following command.
docker info --format '{{ .Swarm.Managers }}'
Alternatively run the below command.
docker node ls | grep 'Leader'
Ensure the number of leaders is between 1 and 3. If the number of leaders is not 1, 2 or 3, this is a finding.
V-235848
False
DKER-EE-005060
Ensure the correct range of manager nodes have been created in a swarm.
via CLI:
Linux: As a Docker EE Admin, follow the steps below using a Universal Control Plane (UCP) client bundle:
Run the following command.
docker info --format '{{ .Swarm.Managers }}'
Alternatively run the below command.
docker node ls | grep 'Leader'
Ensure the number of leaders is between 1 and 3. If the number of leaders is not 1, 2 or 3, this is a finding.
M
5281