Initialize swarm and advertise a specific manager IP.
Section: Swarm Basics
Initialize swarm with advertise address
bash
bash
docker swarm init --advertise-addr 10.0.0.10Explanation
Important on hosts with multiple interfaces.
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