Join a swarm as a node and/or manager
docker swarm join [OPTIONS] HOST:PORT
Name, shorthand | Default | Description |
---|---|---|
--advertise-addr |
Advertised address (format: <ip|interface>[:port]) | |
--availability |
active |
Availability of the node (active/pause/drain) |
--listen-addr |
0.0.0.0:2377 |
Listen address (format: <ip|interface>[:port]) |
--token |
Token for entry into the swarm |
Command | Description |
---|---|
docker swarm | Manage Swarm |
Command | Description |
---|---|
docker swarm init | Initialize a swarm |
docker swarm join | Join a swarm as a node and/or manager |
docker swarm join-token | Manage join tokens |
docker swarm leave | Leave the swarm |
docker swarm unlock | Unlock swarm |
docker swarm unlock-key | Manage the unlock key |
docker swarm update | Update the swarm |