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 [2021/04/30 17:56] rodolfodocs:virtualizacion:docker:swarm [2021/04/30 18:04] (actual) rodolfo
Línea 72: Línea 72:
 With stacks it is possible to manage application composed by a group of services. With stacks it is possible to manage application composed by a group of services.
  
-''docker stack deploy --compose-file stack.yaml stack_name'' : Deploy new stack in the cluster+''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   * //-c, --compose-file strings// : Path to a Compose file, or "-" to read from stdin
-  * //--orchestrator string// : Orchestrator to use (swarm|kubernetes|all) 
   * //--prune// : Prune services that are no longer referenced   * //--prune// : Prune services that are no longer referenced
-  * //--resolve-image string   Query the registry to resolve image digest and supported platforms ("always"|"changed"|"never") (default "always") 
   * //--with-registry-auth// : Send registry authentication details to Swarm agents   * //--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