Docs: add note about management commands targeting a manager

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2018-12-23 12:27:52 +01:00
parent 0fd5c16ab9
commit f540eae7fe
31 changed files with 149 additions and 34 deletions

View File

@ -34,6 +34,10 @@ role. You pass the token using the `--token` flag when you run
[swarm join](swarm_join.md). Nodes use the join token only when they join the
swarm.
> **Note**: This is a cluster management command, and must be executed on a swarm
> manager node. To learn about managers and workers, refer to the [Swarm mode
> section](https://docs.docker.com/engine/swarm/) in the documentation.
## Examples
You can view or rotate the join tokens using `swarm join-token`.