Bird
0
0

After running docker swarm init, which command shows the current swarm status?

medium📝 Command Output Q5 of 15
Docker - Swarm
After running docker swarm init, which command shows the current swarm status?
Adocker swarm status
Bdocker node ls
Cdocker info
Ddocker swarm inspect
Step-by-Step Solution
Solution:
  1. Step 1: Identify command to check swarm status

    docker info shows detailed info including swarm status.
  2. Step 2: Check other commands

    docker node ls lists nodes but requires swarm active; others are invalid.
  3. Final Answer:

    docker info -> Option C
  4. Quick Check:

    Swarm status command = docker info [OK]
Quick Trick: Use docker info to see swarm status [OK]
Common Mistakes:
  • Using docker swarm status (not valid)
  • Confusing node list with status
  • Trying docker swarm inspect (invalid)

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes