mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
b30609446d
Some frontmatter such as the weights, menu stuff, etc is no longer used 'draft=true' becomes 'published: false' Signed-off-by: Misty Stanley-Jones <misty@docker.com>
1.2 KiB
1.2 KiB
title | description | keywords | advisory | |
---|---|---|---|---|
stack ps | The stack ps command description and usage |
|
experimental |
stack ps (experimental)
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
--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 command has to be run targeting a manager node.
Filtering
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. For example,
-f name=redis.1 -f name=redis.7
returns both redis.1
and redis.7
tasks.
The currently supported filters are: