CmdID

CmdID / Commands

docker-swarm

A container orchestration tool. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Initialize a swarm cluster

docker swarm initIdentify

Display the token to join a manager or a worker

docker swarm join-token workerIdentify

Join a new node to the cluster

docker swarm join --token token manager_node_url:2377Identify
--tokenToken for entry into the swarm Docker CLI reference

Remove a worker from the swarm (run inside the worker node)

docker swarm leaveIdentify

Display the current CA certificate in PEM format

docker swarm caIdentify

Rotate the current CA certificate and display the new certificate

docker swarm ca --rotateIdentify
--rotateRotate the swarm CA - if no certificate or key are provided, new ones will be generated Docker CLI reference

Change the valid period for node certificates

docker swarm update --cert-expiry hourshminutesmsecondssIdentify
--cert-expiryValidity period for node certificates (ns\ Docker CLI reference