From 9b8460e656b175ce13d10e027c0e2b6306ecd78c Mon Sep 17 00:00:00 2001 From: Sharath Ganga <35116788+sharathg17@users.noreply.github.com> Date: Tue, 23 Apr 2019 18:56:21 +0530 Subject: [PATCH] Updated the command to join a swarm as manager. --- docker-swarm-cheatsheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \