diff --git a/docker-swarm-cheatsheet.md b/docker-swarm-cheatsheet.md index 365f2d5..480bd2e 100644 --- a/docker-swarm-cheatsheet.md +++ b/docker-swarm-cheatsheet.md @@ -4,7 +4,7 @@ - Initialize a swarm: `docker swarm init` - List swarm nodes: `docker node ls` -- Get the command for new nodes to join a swarm: `docker swarm join-token worker` or `docker swarm join-token worker`. The command prints the required command and token: E.g. To add a worker to this swarm, run the following command: +- Get the command for new nodes to join a swarm: `docker swarm join-token worker` or `docker swarm join-token manager`. The command prints the required command and token: E.g. To add a worker to this swarm, run the following command: ``` docker swarm join \