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 [2019/06/03 18:33] – [Service management] rodolfodocs:virtualizacion:docker:swarm [2021/04/30 18:04] (actual) 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]].
 +
 +[[https://onoya.dev/docker-swarm-cluster-digitalocean/|Docker Swarm at DigitalOcean]]
  
 ===== Swarm management ===== ===== Swarm management =====
Línea 65: 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.1559586833.txt.gz
  • Última modificación: 2019/06/03 18:33
  • por rodolfo