docker swarm join

Estimated reading time: 1 minute

Description

Join a swarm as a node and/or manager

Usage

docker swarm join [OPTIONS] HOST:PORT

Options

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

Parent command

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
chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support
Rate this page: