add documentation for docker stack ps

also updates related stack docs and removes stack_tasks.md

Signed-off-by: Alicia Lauerman <allydevour@me.com>
This commit is contained in:
Alicia Lauerman 2016-10-13 15:03:08 -04:00
parent 535f52c932
commit 970ab9a224
6 changed files with 12 additions and 12 deletions

View file

@ -28,5 +28,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

@ -57,5 +57,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

@ -34,4 +34,4 @@ myapp 2
* [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)

View file

@ -1,26 +1,26 @@
<!--[metadata]>
+++
title = "stack tasks"
description = "The stack tasks command description and usage"
keywords = ["stack, tasks"]
title = "stack ps"
description = "The stack ps command description and usage"
keywords = ["stack, ps"]
advisory = "experimental"
[menu.main]
parent = "smn_cli"
+++
<![end-metadata]-->
# stack tasks (experimental)
# 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

View file

@ -31,5 +31,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

@ -39,7 +39,7 @@ dn7m7nhhfb9y myapp_db 1/1 mysql@sha256:a9a5b559f8821fe73d58c3606c8
The filtering flag (`-f` or `--filter`) format is a `key=value` pair. If there
is more than one filter, then pass multiple flags (e.g. `--filter "foo=bar" --filter "bif=baz"`).
Multiple filter flags are combined as an `OR` filter.
Multiple filter flags are combined as an `OR` filter.
The following command shows both the `web` and `db` services:
@ -62,5 +62,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)