Skip to content

Commit f92afde

Browse files
committed
Updated Swarm Docs
Signed-off-by: Alexandre Vallières-Lagacé <alexandre.valliereslagace@docker.com>
1 parent 743c385 commit f92afde

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

docs/extend/plugins_services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ node1 is the manager and node2 is the worker.
3838

3939
```console
4040
$ docker swarm join \
41-
--token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c \
41+
--token SWMTKN-1-aabbccdd00112233aabbccdd00112233aabbccdd00112233aa-aabbccdd00112233... \
4242
192.168.99.100:2377
4343
```
4444

docs/reference/commandline/swarm_init.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Swarm initialized: current node (bvz81updecsj6wjz393c09vti) is now a manager.
4040

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

43-
docker swarm join --token SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-1awxwuwd3z9j1z3puu7rcgdbx 172.17.0.2:2377
43+
docker swarm join --token SWMTKN-1-aabbccdd00112233aabbccdd00112233aabbccdd00112233aa-aabbccdd00112233... 172.17.0.2:2377
4444

4545
To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
4646
```

docs/reference/commandline/swarm_join-token.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ $ docker swarm join-token worker
4141
To add a worker to this swarm, run the following command:
4242

4343
docker swarm join \
44-
--token SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-1awxwuwd3z9j1z3puu7rcgdbx \
44+
--token SWMTKN-1-aabbccdd00112233aabbccdd00112233aabbccdd00112233aa-aabbccdd00112233... \
4545
172.17.0.2:2377
4646

4747
$ docker swarm join-token manager
4848

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

5151
docker swarm join \
52-
--token SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-7p73s1dx5in4tatdymyhg9hu2 \
52+
--token SWMTKN-1-aabbccdd00112233aabbccdd00112233aabbccdd00112233aa-aabbccdd00112233... \
5353
172.17.0.2:2377
5454
```
5555

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

6565
docker swarm join \
66-
--token SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-b30ljddcqhef9b9v4rs7mel7t \
66+
--token SWMTKN-1-aabbccdd00112233aabbccdd00112233aabbccdd00112233aa-aabbccdd00112233... \
6767
172.17.0.2:2377
6868
```
6969

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

77-
SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-b30ljddcqhef9b9v4rs7mel7t
77+
SWMTKN-1-aabbccdd00112233aabbccdd00112233aabbccdd00112233aa-aabbccdd00112233...
7878
```
7979

8080
### <a name="rotate"></a> `--rotate`

docs/reference/commandline/swarm_join.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pass a worker token, the node joins as a worker.
2929
The example below demonstrates joining a manager node using a manager token.
3030

3131
```console
32-
$ docker swarm join --token SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-7p73s1dx5in4tatdymyhg9hu2 192.168.99.121:2377
32+
$ docker swarm join --token SWMTKN-1-aabbccdd00112233aabbccdd00112233aabbccdd00112233aa-aabbccdd00112233... 192.168.99.121:2377
3333
This node joined a swarm as a manager.
3434

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

4949
```console
50-
$ docker swarm join --token SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-1awxwuwd3z9j1z3puu7rcgdbx 192.168.99.121:2377
50+
$ docker swarm join --token SWMTKN-1-aabbccdd00112233aabbccdd00112233aabbccdd00112233aa-aabbccdd00112233... 192.168.99.121:2377
5151
This node joined a swarm as a worker.
5252

5353
$ docker node ls

docs/reference/commandline/swarm_unlock-key.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ $ docker swarm unlock-key
3636
To unlock a swarm manager after it restarts, run the `docker swarm unlock`
3737
command and provide the following key:
3838

39-
SWMKEY-1-fySn8TY4w5lKcWcJPIpKufejh9hxx5KYwx6XZigx3Q4
39+
SWMKEY-1-aaa
4040

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

56-
SWMKEY-1-7c37Cc8654o6p38HnroywCi19pllOnGtbdZEgtKxZu8
56+
SWMKEY-1-aaa
5757

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

67-
SWMKEY-1-7c37Cc8654o6p38HnroywCi19pllOnGtbdZEgtKxZu8
67+
SWMKEY-1-aaa
6868
```
6969

7070
### <a name="rotate"></a> `--rotate`

0 commit comments

Comments
 (0)