Skip to content

Commit 90a21cd

Browse files
committed
Remove Swarm API Key from Docs
1 parent 3d44154 commit 90a21cd

File tree

12 files changed

+32
-36
lines changed

12 files changed

+32
-36
lines changed

content/guides/orchestration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Docker Desktop runs primarily on Docker Engine, which has everything you need to
191191
192192
To add a worker to this swarm, run the following command:
193193
194-
docker swarm join --token SWMTKN-1-3e0hh0jd5t4yjg209f4g5qpowbsczfahv2dea9a1ay2l8787cf-2h4ly330d0j917ocvzw30j5x9 192.168.65.3:2377
194+
docker swarm join --token SWMTKN-1-aaa 192.168.65.3:2377
195195
196196
To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
197197
```
@@ -255,7 +255,7 @@ Docker Desktop runs primarily on Docker Engine, which has everything you need to
255255
256256
To add a worker to this swarm, run the following command:
257257
258-
docker swarm join --token SWMTKN-1-3e0hh0jd5t4yjg209f4g5qpowbsczfahv2dea9a1ay2l8787cf-2h4ly330d0j917ocvzw30j5x9 192.168.65.3:2377
258+
docker swarm join --token SWMTKN-1-aaa 192.168.65.3:2377
259259
260260
To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
261261
```

content/manuals/engine/network/drivers/overlay.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ This example refers to the hosts as `host1` and `host2`.
374374

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

377-
docker swarm join --token SWMTKN-1-5g90q48weqrtqryq4kj6ow0e8xm9wmv9o6vgqc5j320ymybd5c-8ex8j0bc40s6hgvy5ui5gl4gy 172.31.47.252:2377
377+
docker swarm join --token SWMTKN-1-aaa 172.31.47.252:2377
378378
```
379379

380380
On `host2`, join the swarm using the token from the previous output:

content/manuals/engine/swarm/join-nodes.md

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

3636
docker swarm join \
37-
--token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c \
37+
--token SWMTKN-1-aaa \
3838
192.168.99.100:2377
3939
```
4040

4141
Run the command from the output on the worker to join the swarm:
4242

4343
```console
4444
$ docker swarm join \
45-
--token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c \
45+
--token SWMTKN-1-aaa \
4646
192.168.99.100:2377
4747

4848
This node joined a swarm as a worker.
@@ -82,15 +82,15 @@ $ docker swarm join-token manager
8282
To add a manager to this swarm, run the following command:
8383

8484
docker swarm join \
85-
--token SWMTKN-1-61ztec5kyafptydic6jfc1i33t37flcl4nuipzcusor96k7kby-5vy9t8u35tuqm7vh67lrz9xp6 \
85+
--token SWMTKN-1-aaa \
8686
192.168.99.100:2377
8787
```
8888

8989
Run the command from the output on the new manager node to join it to the swarm:
9090

9191
```console
9292
$ docker swarm join \
93-
--token SWMTKN-1-61ztec5kyafptydic6jfc1i33t37flcl4nuipzcusor96k7kby-5vy9t8u35tuqm7vh67lrz9xp6 \
93+
--token SWMTKN-1-aaa \
9494
192.168.99.100:2377
9595

9696
This node joined a swarm as a manager.

content/manuals/engine/swarm/networking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ This example joins the swarm managed by host `192.168.99.100:2377` and sets the
436436

437437
```console
438438
$ docker swarm join \
439-
--token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2d7c \
439+
--token SWMTKN-1-aaa \
440440
--advertise-addr eth0 \
441441
--data-path-addr eth1 \
442442
192.168.99.100:2377

content/manuals/engine/swarm/swarm-mode.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Swarm initialized: current node (dxn1zf6l61qsb1josjja83ngz) is now a manager.
5858
To add a worker to this swarm, run the following command:
5959

6060
docker swarm join \
61-
--token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c \
61+
--token SWMTKN-1-aaa \
6262
192.168.99.100:2377
6363

6464
To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
@@ -153,7 +153,7 @@ $ docker swarm join-token worker
153153
To add a worker to this swarm, run the following command:
154154

155155
docker swarm join \
156-
--token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c \
156+
--token SWMTKN-1-aaa \
157157
192.168.99.100:2377
158158

159159
This node joined a swarm as a worker.
@@ -167,7 +167,7 @@ $ docker swarm join-token manager
167167
To add a manager to this swarm, run the following command:
168168

169169
docker swarm join \
170-
--token SWMTKN-1-59egwe8qangbzbqb3ryawxzk3jn97ifahlsrw01yar60pmkr90-bdjfnkcflhooyafetgjod97sz \
170+
--token SWMTKN-1-aaa \
171171
192.168.99.100:2377
172172
```
173173

@@ -176,7 +176,7 @@ Pass the `--quiet` flag to print only the token:
176176
```console
177177
$ docker swarm join-token --quiet worker
178178

179-
SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c
179+
SWMTKN-1-aaa
180180
```
181181

182182
Be careful with the join tokens because they are the secrets necessary to join
@@ -207,7 +207,7 @@ $ docker swarm join-token --rotate worker
207207
To add a worker to this swarm, run the following command:
208208

209209
docker swarm join \
210-
--token SWMTKN-1-2kscvs0zuymrsc9t0ocyy1rdns9dhaodvpl639j2bqx55uptag-ebmn5u927reawo27s3azntd44 \
210+
--token SWMTKN-1-aaa \
211211
192.168.99.100:2377
212212
```
213213

content/manuals/engine/swarm/swarm-tutorial/add-nodes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ to add worker nodes.
1818

1919
```console
2020
$ docker swarm join \
21-
--token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c \
21+
--token SWMTKN-1-aaa \
2222
192.168.99.100:2377
2323

2424
This node joined a swarm as a worker.
@@ -33,7 +33,7 @@ to add worker nodes.
3333
To add a worker to this swarm, run the following command:
3434

3535
docker swarm join \
36-
--token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c \
36+
--token SWMTKN-1-aaa \
3737
192.168.99.100:2377
3838
```
3939

@@ -46,7 +46,7 @@ to add worker nodes.
4646

4747
```console
4848
$ docker swarm join \
49-
--token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c \
49+
--token SWMTKN-1-aaa \
5050
192.168.99.100:2377
5151

5252
This node joined a swarm as a worker.

content/manuals/engine/swarm/swarm-tutorial/create-swarm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ machines.
2929
To add a worker to this swarm, run the following command:
3030

3131
docker swarm join \
32-
--token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c \
32+
--token SWMTKN-1-aaa \
3333
192.168.99.100:2377
3434

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

content/manuals/engine/swarm/swarm_manager_locking.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ Swarm initialized: current node (k1q27tfyx9rncpixhk69sa61v) is now a manager.
3939
To add a worker to this swarm, run the following command:
4040

4141
docker swarm join \
42-
--token SWMTKN-1-0j52ln6hxjpxk2wgk917abcnxywj3xed0y8vi1e5m9t3uttrtu-7bnxvvlz2mrcpfonjuztmtts9 \
42+
--token SWMTKN-1-aaa \
4343
172.31.46.109:2377
4444

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

4747
To unlock a swarm manager after it restarts, run the `docker swarm unlock`
4848
command and provide the following key:
4949

50-
SWMKEY-1-WuYH/IX284+lRcXuoVf38viIDK3HJEKY13MIHX+tTt8
50+
SWMKEY-1-aaa
5151
```
5252

5353
Store the key in a safe place, such as in a password manager.
@@ -75,7 +75,7 @@ Swarm updated.
7575
To unlock a swarm manager after it restarts, run the `docker swarm unlock`
7676
command and provide the following key:
7777

78-
SWMKEY-1-+MrE8NgAyKj5r3NcR4FiQMdgu+7W72urH0EZeSmP/0Y
78+
SWMKEY-1-aaa
7979

8080
Please remember to store this key in a password manager, since without it you
8181
will not be able to restart the manager.
@@ -124,7 +124,7 @@ $ docker swarm unlock-key
124124
To unlock a swarm manager after it restarts, run the `docker swarm unlock`
125125
command and provide the following key:
126126

127-
SWMKEY-1-8jDgbUNlJtUe5P/lcr9IXGVxqZpZUXPzd+qzcGp4ZYA
127+
SWMKEY-1-aaa
128128

129129
Please remember to store this key in a password manager, since without it you
130130
will not be able to restart the manager.
@@ -146,7 +146,7 @@ Successfully rotated manager unlock key.
146146
To unlock a swarm manager after it restarts, run the `docker swarm unlock`
147147
command and provide the following key:
148148

149-
SWMKEY-1-8jDgbUNlJtUe5P/lcr9IXGVxqZpZUXPzd+qzcGp4ZYA
149+
SWMKEY-1-aaa
150150

151151
Please remember to store this key in a password manager, since without it you
152152
will not be able to restart the manager.

data/cli/engine/docker_swarm_init.yaml

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

data/cli/engine/docker_swarm_join-token.yaml

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)