From 36bda9f74bf82afa2c074f23a3c800dc1c47938e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20Vallie=CC=80res-Lagace=CC=81?= Date: Wed, 18 Mar 2026 15:05:40 -0400 Subject: [PATCH] Updated Swarm Docs --- docs/extend/plugins_services.md | 2 +- docs/reference/commandline/swarm_init.md | 2 +- docs/reference/commandline/swarm_join-token.md | 8 ++++---- docs/reference/commandline/swarm_join.md | 4 ++-- docs/reference/commandline/swarm_unlock-key.md | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/extend/plugins_services.md b/docs/extend/plugins_services.md index f0c2dc503ddc..2ec4eb2ff601 100644 --- a/docs/extend/plugins_services.md +++ b/docs/extend/plugins_services.md @@ -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 ``` diff --git a/docs/reference/commandline/swarm_init.md b/docs/reference/commandline/swarm_init.md index d49dc693c85b..63fc1cdacddb 100644 --- a/docs/reference/commandline/swarm_init.md +++ b/docs/reference/commandline/swarm_init.md @@ -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. ``` diff --git a/docs/reference/commandline/swarm_join-token.md b/docs/reference/commandline/swarm_join-token.md index 660f363052c0..14c73f41f375 100644 --- a/docs/reference/commandline/swarm_join-token.md +++ b/docs/reference/commandline/swarm_join-token.md @@ -41,7 +41,7 @@ $ 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 @@ -49,7 +49,7 @@ $ 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 ``` @@ -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 ``` @@ -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 ``` ### `--rotate` diff --git a/docs/reference/commandline/swarm_join.md b/docs/reference/commandline/swarm_join.md index 2c784d4afa9a..3dee69425295 100644 --- a/docs/reference/commandline/swarm_join.md +++ b/docs/reference/commandline/swarm_join.md @@ -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 @@ -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 diff --git a/docs/reference/commandline/swarm_unlock-key.md b/docs/reference/commandline/swarm_unlock-key.md index 6f6f7844aa6c..e7780aa62678 100644 --- a/docs/reference/commandline/swarm_unlock-key.md +++ b/docs/reference/commandline/swarm_unlock-key.md @@ -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. @@ -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. @@ -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 ``` ### `--rotate`