Which of the following commands lists the nodes in a Docker Swam cluster?
Which of the following commands lists the nodes in a Docker Swam cluster?
The correct command to list the nodes in a Docker Swarm cluster is 'docker node ls'. This command provides a list of all the nodes in the swarm, including managers and workers, along with their statuses, roles, and availability. The other options do not perform this specific function.
C is correct