docker-swarm
A container orchestration tool. tldr-pages
On several platforms
Several platforms
Initialize a swarm cluster
docker swarm initIdentifyDisplay the token to join a manager or a worker
docker swarm join-token workerIdentifyJoin a new node to the cluster
docker swarm join --token token manager_node_url:2377Identify--tokenToken for entry into the swarm Docker CLI referenceRemove a worker from the swarm (run inside the worker node)
docker swarm leaveIdentifyDisplay the current CA certificate in PEM format
docker swarm caIdentifyRotate 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 referenceChange the valid period for node certificates
docker swarm update --cert-expiry hourshminutesmsecondssIdentify--cert-expiryValidity period for node certificates (ns\ Docker CLI reference