Docker stack: Difference between revisions
Jump to navigation
Jump to search
(→deploy) |
|||
Line 25: | Line 25: | ||
Deploy a new stack or update an existing stack. | Deploy a new stack or update an existing stack. | ||
docker stack deploy -c ./docker-compose-test.yml --namespace default test-stack | |||
==services== | ==services== |
Revision as of 22:02, 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.
docker stack deploy -c ./docker-compose-test.yml --namespace default test-stack
services
List the services in the stack.
rm
Remove one or more stacks.
Examples
docker stack ps --namespace namespace-name stack-name