compose_top
Show running processes of Docker Compose project containers per service. Outputs ps-style process table for monitoring.
Instructions
Show the running processes of a compose project's containers.
Output is the ps-style process table per service (not JSON); read it from stdout.
args:
services - Restrict to these services (default: all)
project_dir - Dir with the compose file (default: server cwd)
files - Explicit compose file paths (repeatable, -f)
project_name - Compose project name override
returns: dict - {"returncode": int, "stdout": str, "stderr": str, "truncated": bool}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| services | No | ||
| project_dir | No | ||
| project_name | No |