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 committed by Tibor Vass
parent f7bfe86440
commit f840df5a2b
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 deploy](stack_deploy.md)
* [stack rm](stack_rm.md) * [stack rm](stack_rm.md)
* [stack services](stack_services.md) * [stack services](stack_services.md)
* [stack tasks](stack_tasks.md) * [stack ps](stack_ps.md)
* [stack ls](stack_ls.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 config](stack_config.md)
* [stack rm](stack_rm.md) * [stack rm](stack_rm.md)
* [stack services](stack_services.md) * [stack services](stack_services.md)
* [stack tasks](stack_tasks.md) * [stack ps](stack_ps.md)
* [stack ls](stack_ls.md) * [stack ls](stack_ls.md)

View File

@ -34,4 +34,4 @@ myapp 2
* [stack config](stack_config.md) * [stack config](stack_config.md)
* [stack deploy](stack_deploy.md) * [stack deploy](stack_deploy.md)
* [stack rm](stack_rm.md) * [stack rm](stack_rm.md)
* [stack tasks](stack_tasks.md) * [stack ps](stack_ps.md)

View File

@ -1,26 +1,26 @@
<!--[metadata]> <!--[metadata]>
+++ +++
title = "stack tasks" title = "stack ps"
description = "The stack tasks command description and usage" description = "The stack ps command description and usage"
keywords = ["stack, tasks"] keywords = ["stack, ps"]
advisory = "experimental" advisory = "experimental"
[menu.main] [menu.main]
parent = "smn_cli" parent = "smn_cli"
+++ +++
<![end-metadata]--> <![end-metadata]-->
# stack tasks (experimental) # stack ps (experimental)
```markdown ```markdown
Usage: docker stack tasks [OPTIONS] STACK Usage: docker stack ps [OPTIONS] STACK
List the tasks in the stack List the tasks in the stack
Options: Options:
-a, --all Display all tasks -a, --all Display all tasks
-f, --filter value Filter output based on conditions provided -f, --filter value Filter output based on conditions provided
--help Print usage
--no-resolve Do not map IDs to Names --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 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 config](stack_config.md)
* [stack deploy](stack_deploy.md) * [stack deploy](stack_deploy.md)
* [stack services](stack_services.md) * [stack services](stack_services.md)
* [stack tasks](stack_tasks.md) * [stack ps](stack_ps.md)
* [stack ls](stack_ls.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 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"`). 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: 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 config](stack_config.md)
* [stack deploy](stack_deploy.md) * [stack deploy](stack_deploy.md)
* [stack rm](stack_rm.md) * [stack rm](stack_rm.md)
* [stack tasks](stack_tasks.md) * [stack ps](stack_ps.md)
* [stack ls](stack_ls.md) * [stack ls](stack_ls.md)