stack_services
List services of a Docker stack by name, with optional filters for attributes like name, returning service id, name, mode, replicas, image, and ports.
Instructions
List the services of a stack, parsed from --format '{{json .}}'.
args: name - The stack to list services for filters - Filter by attributes, e.g. {"name": "web"}; a list value repeats the filter returns: list - One dict per service (id, name, mode, replicas, image, ports)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| filters | No |