File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed
Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ Swarm initialized: current node (bvz81updecsj6wjz393c09vti) is now a manager.
4040
4141To 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
4545To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
4646```
Original file line number Diff line number Diff line change @@ -41,15 +41,15 @@ $ docker swarm join-token worker
4141To 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
4949To 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.
6363To 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 `
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ pass a worker token, the node joins as a worker.
2929The 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
3333This 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
4747The 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
5151This node joined a swarm as a worker.
5252
5353$ docker node ls
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ $ docker swarm unlock-key
3636To unlock a swarm manager after it restarts, run the `docker swarm unlock`
3737command and provide the following key:
3838
39- SWMKEY-1-fySn8TY4w5lKcWcJPIpKufejh9hxx5KYwx6XZigx3Q4
39+ SWMKEY-1-aaa
4040
4141Remember to store this key in a password manager, since without it you
4242will not be able to restart the manager.
@@ -53,7 +53,7 @@ Successfully rotated manager unlock key.
5353To unlock a swarm manager after it restarts, run the `docker swarm unlock`
5454command and provide the following key:
5555
56- SWMKEY-1-7c37Cc8654o6p38HnroywCi19pllOnGtbdZEgtKxZu8
56+ SWMKEY-1-aaa
5757
5858Remember to store this key in a password manager, since without it you
5959will 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 `
You can’t perform that action at this time.
0 commit comments