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ón
Revisión previa
docs:virtualizacion:docker:swarm [2020/04/02 14:05] – [Docker Swarm Cheat-Sheet] rodolfodocs:virtualizacion:docker:swarm [2021/04/30 18:04] (actual) rodolfo
Línea 67: Línea 67:
   * //–role// : worker/manager. Update node role   * //–role// : worker/manager. Update node role
   * //–availability// : active/pause/drain. Set node state.   * //–availability// : active/pause/drain. Set node state.
 +
 +===== Stack management =====
 +
 +With stacks it is possible to manage application composed by a group of services.
 +
 +''docker stack deploy'' : Deploy new stack in the cluster (also accept ''up'')
 +  * //-c, --compose-file strings// : Path to a Compose file, or "-" to read from stdin
 +  * //--prune// : Prune services that are no longer referenced
 +  * //--with-registry-auth// : Send registry authentication details to Swarm agents
 +
 +''docker stack ls'' : List stacks
 +
 +''docker stack ps'' : Lists services task of stacks 
 +  * //–filter//, //–format// and //-q// (quiet) switches which we saw above are supported with this command.
 +
 +''docker stack rm'' : Remove stack (also accept ''remove'' and ''down'')
 +
 +''docker stack services'' : List the services in the stack
 +  * //–filter//, //–format// and //-q// (quiet) switches which we saw above are supported with this command.
  
 ===== Service management ===== ===== Service management =====
  • docs/virtualizacion/docker/swarm.txt
  • Última modificación: 2021/04/30 18:04
  • por rodolfo