Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/extend/plugins_services.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ node1 is the manager and node2 is the worker.

```console
$ docker swarm join \
--token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c \
--token SWMTKN-1-aaa \
192.168.99.100:2377
```

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commandline/swarm_init.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Swarm initialized: current node (bvz81updecsj6wjz393c09vti) is now a manager.

To add a worker to this swarm, run the following command:

docker swarm join --token SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-1awxwuwd3z9j1z3puu7rcgdbx 172.17.0.2:2377
docker swarm join --token SWMTKN-1-aaa 172.17.0.2:2377

To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
```
Expand Down
8 changes: 4 additions & 4 deletions docs/reference/commandline/swarm_join-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ $ docker swarm join-token worker
To add a worker to this swarm, run the following command:

docker swarm join \
--token SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-1awxwuwd3z9j1z3puu7rcgdbx \
--token SWMTKN-1-aaa \
172.17.0.2:2377

$ docker swarm join-token manager

To add a manager to this swarm, run the following command:

docker swarm join \
--token SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-7p73s1dx5in4tatdymyhg9hu2 \
--token SWMTKN-1-aaa \
172.17.0.2:2377
```

Expand All @@ -63,7 +63,7 @@ Successfully rotated worker join token.
To add a worker to this swarm, run the following command:

docker swarm join \
--token SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-b30ljddcqhef9b9v4rs7mel7t \
--token SWMTKN-1-aaa \
172.17.0.2:2377
```

Expand All @@ -74,7 +74,7 @@ The `-q` (or `--quiet`) flag only prints the token:
```console
$ docker swarm join-token -q worker

SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-b30ljddcqhef9b9v4rs7mel7t
SWMTKN-1-aaa
```

### <a name="rotate"></a> `--rotate`
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/commandline/swarm_join.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pass a worker token, the node joins as a worker.
The example below demonstrates joining a manager node using a manager token.

```console
$ docker swarm join --token SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-7p73s1dx5in4tatdymyhg9hu2 192.168.99.121:2377
$ docker swarm join --token SWMTKN-1-aaa 192.168.99.121:2377
This node joined a swarm as a manager.

$ docker node ls
Expand All @@ -47,7 +47,7 @@ should join as workers instead. Managers should be stable hosts that have static
The example below demonstrates joining a worker node using a worker token.

```console
$ docker swarm join --token SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-1awxwuwd3z9j1z3puu7rcgdbx 192.168.99.121:2377
$ docker swarm join --token SWMTKN-1-aaa 192.168.99.121:2377
This node joined a swarm as a worker.

$ docker node ls
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/commandline/swarm_unlock-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $ docker swarm unlock-key
To unlock a swarm manager after it restarts, run the `docker swarm unlock`
command and provide the following key:

SWMKEY-1-fySn8TY4w5lKcWcJPIpKufejh9hxx5KYwx6XZigx3Q4
SWMKEY-1-aaa

Remember to store this key in a password manager, since without it you
will not be able to restart the manager.
Expand All @@ -53,7 +53,7 @@ Successfully rotated manager unlock key.
To unlock a swarm manager after it restarts, run the `docker swarm unlock`
command and provide the following key:

SWMKEY-1-7c37Cc8654o6p38HnroywCi19pllOnGtbdZEgtKxZu8
SWMKEY-1-aaa

Remember to store this key in a password manager, since without it you
will not be able to restart the manager.
Expand All @@ -64,7 +64,7 @@ The `-q` (or `--quiet`) flag only prints the key:
```console
$ docker swarm unlock-key -q

SWMKEY-1-7c37Cc8654o6p38HnroywCi19pllOnGtbdZEgtKxZu8
SWMKEY-1-aaa
```

### <a name="rotate"></a> `--rotate`
Expand Down
Loading