mirror of https://github.com/docker/docs.git
Running: ``` $ docker swarm --join --token <TOKEN> \ --advertise-addr <IP-ADDRESS-OF-WORKER-1> \ <IP-ADDRESS-OF-MANAGER>:2377 ``` throws the following error ``` unknown flag: --join See 'docker swarm --help'. Usage: docker swarm COMMAND Manage Swarm Commands: ca Display and rotate the root CA init Initialize a swarm join Join a swarm as a node and/or manager join-token Manage join tokens leave Leave the swarm unlock Unlock swarm unlock-key Manage the unlock key update Update the swarm Run 'docker swarm COMMAND --help' for more information on a command. ``` The command in the PR returns ``` This node joined a swarm as a worker. ``` |
||
---|---|---|
.. | ||
bridge.md | ||
host.md | ||
index.md | ||
iptables.md | ||
links.md | ||
macvlan.md | ||
network-tutorial-host.md | ||
network-tutorial-macvlan.md | ||
network-tutorial-overlay.md | ||
network-tutorial-standalone.md | ||
none.md | ||
overlay-standalone.swarm.md | ||
overlay.md | ||
proxy.md |