docs:virtualizacion:docker:swarm

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anterior Revisión previa
Próxima revisiónAmbos lados, revisión siguiente
docs:virtualizacion:docker:swarm [2019/06/03 16:36] – [Docker Swarm Cheat-Sheet] rodolfodocs:virtualizacion:docker:swarm [2019/06/03 16:41] rodolfo
Línea 8: Línea 8:
  
 Read all docker or containerization [[https://kerneltalks.com/category/docker/|related articles here from KernelTalk’s archives]]. Read all docker or containerization [[https://kerneltalks.com/category/docker/|related articles here from KernelTalk’s archives]].
 +
 ===== Docker swarm commands for swarm management ===== ===== Docker swarm commands for swarm management =====
  
 This set of command is used mainly to start, manage swarm cluster as a whole. For node management within cluster we have different set of commands following this section. This set of command is used mainly to start, manage swarm cluster as a whole. For node management within cluster we have different set of commands following this section.
  
-docker swarm init : Initiate swam cluster +''docker swarm init'' : Initiate swam cluster 
-–advertise-addr : Advertised address on which swarm lives +  * //–advertise-addr// : Advertised address on which swarm lives 
-–autolock : Locks manager and display key which will be needed to unlock stopped manager +  * //–autolock// : Locks manager and display key which will be needed to unlock stopped manager 
-–force-new-cluster : Create new cluster from backup and dont attempt to connect to old known nodes +  * //–force-new-cluster// : Create new cluster from backup and dont attempt to connect to old known nodes 
-docker swarm join-token : Lists join security token to join another node in swarm as worker or manager + 
-–quite : Only display token. By default it displays complete command to be used along with token. +''docker swarm join-token'' : Lists join security token to join another node in swarm as worker or manager 
-–rotate : Rotate (change) token for security reasons. +  –quite : Only display token. By default it displays complete command to be used along with token. 
-docker swarm join : Join already running swarm as a worker or manager +  –rotate : Rotate (change) token for security reasons. 
-–token : Security token to join swarm + 
-–availability : Mark node’s status as active/drain/pause after joining +''docker swarm join'' : Join already running swarm as a worker or manager 
-docker swarm leave : Leave swarm. To be run from node itself +  * //–token// : Security token to join swarm 
--f : Leave forcefully ignoring all warnings. +  * //–availability// : Mark node’s status as active/drain/pause after joining 
-docker swarm unlock : Unlocks swarm by providing key after manager restarts + 
-docker swarm unlock-key : Display swarm unlock key +''docker swarm leave'' : Leave swarm. To be run from node itself 
--q : Only display token. +  * //-f// : Leave forcefully ignoring all warnings. 
-–rotate : Rotate (change) token for security reasons. + 
-docker swarm update : Updates swarm configurations +''docker swarm unlock'' : Unlocks swarm by providing key after manager restarts 
-–autolock : true/false. Turns on or off locking if not done while initiating.+ 
 +''docker swarm unlock-key'' : Display swarm unlock key 
 +  * //-q// : Only display token. 
 +  * //–rotate// : Rotate (change) token for security reasons. 
 + 
 +''docker swarm update'' : Updates swarm configurations 
 +  * //–autolock// : true/false. Turns on or off locking if not done while initiating.
  
 ===== Docker swarm node commands for swarm node management ===== ===== Docker swarm node commands for swarm node management =====
  • docs/virtualizacion/docker/swarm.txt
  • Última modificación: 2021/04/30 18:04
  • por rodolfo