add documentation for docker stack ps

also updates related stack docs and removes stack_tasks.md

Signed-off-by: Alicia Lauerman <allydevour@me.com>
(cherry picked from commit 970ab9a224)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Alicia Lauerman 2016-10-13 15:03:08 -04:00 committed by Sebastiaan van Stijn
parent 073515574d
commit 39466e3144
5 changed files with 16 additions and 12 deletions

View file

@ -25,4 +25,5 @@ Displays the configuration of a stack.
* [stack deploy](stack_deploy.md)
* [stack rm](stack_rm.md)
* [stack services](stack_services.md)
* [stack tasks](stack_tasks.md)
* [stack ps](stack_ps.md)
* [stack ls](stack_ls.md)

View file

@ -54,4 +54,5 @@ axqh55ipl40h vossibility-stack_vossibility-collector 1 icecrime/vossibility-co
* [stack config](stack_config.md)
* [stack rm](stack_rm.md)
* [stack services](stack_services.md)
* [stack tasks](stack_tasks.md)
* [stack ps](stack_ps.md)
* [stack ls](stack_ls.md)

View file

@ -2,22 +2,22 @@
redirect_from:
- /reference/commandline/stack_tasks/
advisory: experimental
description: The stack tasks command description and usage
description: The stack ps command description and usage
keywords:
- stack, tasks
title: docker stack tasks (experimental)
- stack, ps
title: docker stack ps (experimental)
---
```markdown
Usage: docker stack tasks [OPTIONS] STACK
Usage: docker stack ps [OPTIONS] STACK
List the tasks in the stack
Options:
-a, --all Display all tasks
-f, --filter value Filter output based on conditions provided
--help Print usage
--no-resolve Do not map IDs to Names
--no-trunc Do not truncate output
```
Lists the tasks that are running as part of the specified stack. This
@ -32,9 +32,9 @@ Multiple filter flags are combined as an `OR` filter. For example,
The currently supported filters are:
* [id](stack_tasks.md#id)
* [name](stack_tasks.md#name)
* [desired-state](stack_tasks.md#desired-state)
* [id](stack_ps.md#id)
* [name](stack_ps.md#name)
* [desired-state](stack_ps.md#desired-state)
## Related information

View file

@ -28,4 +28,5 @@ a manager node.
* [stack config](stack_config.md)
* [stack deploy](stack_deploy.md)
* [stack services](stack_services.md)
* [stack tasks](stack_tasks.md)
* [stack ps](stack_ps.md)
* [stack ls](stack_ls.md)

View file

@ -59,4 +59,5 @@ The currently supported filters are:
* [stack config](stack_config.md)
* [stack deploy](stack_deploy.md)
* [stack rm](stack_rm.md)
* [stack tasks](stack_tasks.md)
* [stack ps](stack_ps.md)
* [stack ls](stack_ls.md)