Bird
0
0

After running docker swarm init --advertise-addr 10.0.0.5 successfully, what message does Docker display?

medium📝 Command Output Q4 of 15
Docker - Swarm
After running docker swarm init --advertise-addr 10.0.0.5 successfully, what message does Docker display?
AError: Node already part of a swarm.
BSwarm initialized: current node is now a manager.
CSwarm join token generated for worker nodes.
DDocker daemon restarted to apply swarm settings.
Step-by-Step Solution
Solution:
  1. Step 1: Understand successful init output

    When docker swarm init runs successfully, it confirms the node is now a manager.
  2. Step 2: Identify correct message

    The typical message includes "Swarm initialized" and confirms the node role.
  3. Final Answer:

    Swarm initialized: current node is now a manager. -> Option B
  4. Quick Check:

    Check swarm status with docker info [OK]
Quick Trick: Success message confirms node is swarm manager [OK]
Common Mistakes:
  • Confusing error messages with success output
  • Assuming join tokens are displayed immediately
  • Thinking Docker daemon restarts automatically

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes