Initialize the current engine as a swarm manager.
Section: Swarm Basics
Initialize swarm
bash
bash
docker swarm initExplanation
Starts the control plane and prints worker join instructions.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Swarm Basics