docker swarm join-token --rotate worker

Category: Docker

docker swarm join-token --rotate worker

Rotate the worker join token

Generates a new join token for workers, invalidating the old one, so departed nodes cannot rejoin. Tokens are the swarm's join credentials. Re-run docker swarm join on workers with the fresh token.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.