Skip to content
Closed
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
4 changes: 2 additions & 2 deletions content/guides/orchestration.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ Docker Desktop runs primarily on Docker Engine, which has everything you need to

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

docker swarm join --token SWMTKN-1-3e0hh0jd5t4yjg209f4g5qpowbsczfahv2dea9a1ay2l8787cf-2h4ly330d0j917ocvzw30j5x9 192.168.65.3:2377
docker swarm join --token SWMTKN-1-aaa 192.168.65.3:2377

To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
```
Expand Down Expand Up @@ -255,7 +255,7 @@ Docker Desktop runs primarily on Docker Engine, which has everything you need to

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

docker swarm join --token SWMTKN-1-3e0hh0jd5t4yjg209f4g5qpowbsczfahv2dea9a1ay2l8787cf-2h4ly330d0j917ocvzw30j5x9 192.168.65.3:2377
docker swarm join --token SWMTKN-1-aaa 192.168.65.3:2377

To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
```
Expand Down
2 changes: 1 addition & 1 deletion content/manuals/engine/network/drivers/overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ This example refers to the hosts as `host1` and `host2`.

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

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

On `host2`, join the swarm using the token from the previous output:
Expand Down
8 changes: 4 additions & 4 deletions content/manuals/engine/swarm/join-nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ $ docker swarm join-token worker
To add a worker to this swarm, run the following command:

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

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

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

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

docker swarm join \
--token SWMTKN-1-61ztec5kyafptydic6jfc1i33t37flcl4nuipzcusor96k7kby-5vy9t8u35tuqm7vh67lrz9xp6 \
--token SWMTKN-1-aaa \
192.168.99.100:2377
```

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

```console
$ docker swarm join \
--token SWMTKN-1-61ztec5kyafptydic6jfc1i33t37flcl4nuipzcusor96k7kby-5vy9t8u35tuqm7vh67lrz9xp6 \
--token SWMTKN-1-aaa \
192.168.99.100:2377

This node joined a swarm as a manager.
Expand Down
2 changes: 1 addition & 1 deletion content/manuals/engine/swarm/networking.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ This example joins the swarm managed by host `192.168.99.100:2377` and sets the

```console
$ docker swarm join \
--token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2d7c \
--token SWMTKN-1-aaa \
--advertise-addr eth0 \
--data-path-addr eth1 \
192.168.99.100:2377
Expand Down
10 changes: 5 additions & 5 deletions content/manuals/engine/swarm/swarm-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Swarm initialized: current node (dxn1zf6l61qsb1josjja83ngz) is now a manager.
To add a worker to this swarm, run the following command:

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

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

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

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

docker swarm join \
--token SWMTKN-1-59egwe8qangbzbqb3ryawxzk3jn97ifahlsrw01yar60pmkr90-bdjfnkcflhooyafetgjod97sz \
--token SWMTKN-1-aaa \
192.168.99.100:2377
```

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

SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c
SWMTKN-1-aaa
```

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

docker swarm join \
--token SWMTKN-1-2kscvs0zuymrsc9t0ocyy1rdns9dhaodvpl639j2bqx55uptag-ebmn5u927reawo27s3azntd44 \
--token SWMTKN-1-aaa \
192.168.99.100:2377
```

Expand Down
6 changes: 3 additions & 3 deletions content/manuals/engine/swarm/swarm-tutorial/add-nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ to add worker nodes.

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

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

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

Expand All @@ -46,7 +46,7 @@ to add worker nodes.

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

This node joined a swarm as a worker.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ machines.
To add a worker to this swarm, run the following command:

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

To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
Expand Down
10 changes: 5 additions & 5 deletions content/manuals/engine/swarm/swarm_manager_locking.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ Swarm initialized: current node (k1q27tfyx9rncpixhk69sa61v) is now a manager.
To add a worker to this swarm, run the following command:

docker swarm join \
--token SWMTKN-1-0j52ln6hxjpxk2wgk917abcnxywj3xed0y8vi1e5m9t3uttrtu-7bnxvvlz2mrcpfonjuztmtts9 \
--token SWMTKN-1-aaa \
172.31.46.109:2377

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

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

SWMKEY-1-WuYH/IX284+lRcXuoVf38viIDK3HJEKY13MIHX+tTt8
SWMKEY-1-aaa
```

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

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

Please remember to store this key in a password manager, since without it you
will not be able to restart the manager.
Expand Down Expand Up @@ -124,7 +124,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-8jDgbUNlJtUe5P/lcr9IXGVxqZpZUXPzd+qzcGp4ZYA
SWMKEY-1-aaa

Please remember to store this key in a password manager, since without it you
will not be able to restart the manager.
Expand All @@ -146,7 +146,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-8jDgbUNlJtUe5P/lcr9IXGVxqZpZUXPzd+qzcGp4ZYA
SWMKEY-1-aaa

Please remember to store this key in a password manager, since without it you
will not be able to restart the manager.
Expand Down
3 changes: 1 addition & 2 deletions data/cli/engine/docker_swarm_init.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions data/cli/engine/docker_swarm_join-token.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions data/cli/engine/docker_swarm_join.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions data/cli/engine/docker_swarm_unlock-key.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading