stack_list
List all stacks deployed to a Docker Swarm cluster, returning each stack's name, service count, and orchestrator. Requires swarm manager access.
Instructions
List the stacks deployed to the swarm, parsed from --format '{{json .}}'.
Requires the target daemon to be a swarm manager. compose_list is the non-swarm equivalent;
drill into one stack with stack_services.
Raises RuntimeError if the CLI call fails.
returns: list - One dict per stack (name, services count, orchestrator)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||