Docker stack: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:


  docker stack --orchestrator kubernetes <''command''>
  docker stack --orchestrator kubernetes <''command''>
=Commands=
==ls==
List stacks.
==ps==
List the tasks in the specified stack.
==deploy==
Deploy a new stack or update an existing stack.
==services==
List the services in the stack.
==rm==
Remove one or more stacks.


=Examples=
=Examples=


  docker stack ps --namespace ''namespace-name'' ''stack-name''
  docker stack ps --namespace ''namespace-name'' ''stack-name''

Revision as of 00:12, 9 August 2019

External

Internal

Overview

docker stack --orchestrator kubernetes <command>

Commands

ls

List stacks.

ps

List the tasks in the specified stack.

deploy

Deploy a new stack or update an existing stack.

services

List the services in the stack.

rm

Remove one or more stacks.

Examples

docker stack ps --namespace namespace-name stack-name