stack_ps
List tasks of a Docker stack with support for filters and non-truncated IDs.
Instructions
List the tasks of a stack, parsed from --format '{{json .}}'.
args: name - The stack to list tasks for no_trunc - Do not truncate task IDs / errors in the output filters - Filter by attributes, e.g. {"desired-state": "running"}; a list value repeats the filter returns: list - One dict per task (id, name, node, image, desired/current state, error)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| filters | No | ||
| no_trunc | No |