Skip to main content

Docker Swarm Join Token



  • Documentation:
  • Summary: Docker Swarm allows management and orchestration of Docker applications on a cluster of hosts. In order to join a Swarm as a worker or a manager, a host must provide the corresponding token.
  • IPs allowlist: This feature is not available.
  • Scopes: Tokens are specific to a swarm.

Revoke the secret

It is possible to rotate a token using the cli command docker swarm join-token --rotate manager|worker

Check for suspicious activity

Not available.

Details for Docker swarm join token

  • Family: Api

  • Category: Other

  • Company: Docker

  • High recall: True

  • Validity check available: False

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 6.34

  • Prefixed: True

  • PreValidators:

- type: ContentWhitelistPreValidator
- swmtkn-


- text: |
docker swarm join --token SWMTKN-1-568ya21bqrpkwl5di47zcs2v5039p7rie6cbs586ni3i12t3r3-4xr7lve30qn7krdtpmusgddkq
apikey: SWMTKN-1-568ya21bqrpkwl5di47zcs2v5039p7rie6cbs586ni3i12t3r3-4xr7lve30qn7krdtpmusgddkq

- text: |
docker swarm join --token SWMTKN-2-1-568ya21bqrpkwl5di47zcs2v5039p7rie6cbs586ni3i12t3r3-4xr7lve30qn7krdtpmusgddkq
apikey: SWMTKN-2-1-568ya21bqrpkwl5di47zcs2v5039p7rie6cbs586ni3i12t3r3-4xr7lve30qn7krdtpmusgddkq

- text: |
- name: Add nodes
state: join
join_token: SWMTKN-1-568ya21bqrpkwl5di47zcs2v5039p7rie6cbs586ni3i12t3r3-aia4nyrqci6wliru6um99kgb2
remote_addrs: [ '' ]
apikey: SWMTKN-1-568ya21bqrpkwl5di47zcs2v5039p7rie6cbs586ni3i12t3r3-aia4nyrqci6wliru6um99kgb2

# Fat-fingered secret
- text: |
apikey: SWMTKN-2-1-568ya21bqrpkwl5di47zcs2v5039p7rie6cbs586ni3i12t3r3-4xr7lve30qn7krdtpmusgddkq

How can I help you ?