# docker stack **Description:** Manage Swarm stacks **Usage:** `docker stack [OPTIONS]` **Orchestrator:** Swarm ## Description Manage stacks. ## Subcommands | Command | Description | |---------|-------------| | [`docker stack config`](https://docs.docker.com/reference/cli/docker/stack/config/) | Outputs the final config file, after doing merges and interpolations | | [`docker stack deploy`](https://docs.docker.com/reference/cli/docker/stack/deploy/) | Deploy a new stack or update an existing stack | | [`docker stack ls`](https://docs.docker.com/reference/cli/docker/stack/ls/) | List stacks | | [`docker stack ps`](https://docs.docker.com/reference/cli/docker/stack/ps/) | List the tasks in the stack | | [`docker stack rm`](https://docs.docker.com/reference/cli/docker/stack/rm/) | Remove one or more stacks | | [`docker stack services`](https://docs.docker.com/reference/cli/docker/stack/services/) | List the services in the stack |