compose_start
Start stopped containers of a Compose project without recreating them. Specify services for targeted startup.
Instructions
Start existing (stopped) containers of a compose project.
Counterpart to compose_stop: starts existing containers without recreating them. Use
compose_up to (re)create containers from the compose file.
Does not raise on a non-zero CLI exit (a missing compose plugin or a timeout still raises) - inspect
returncode/stderr in the result.
Args:
project_dir: Dir with the compose file (default: server cwd; copied to the target host if no local plugin)
files: Explicit compose file paths (repeatable, -f)
project_name: Compose project name override
services: Specific services to start (default: all)
timeout_seconds: Subprocess timeout (default 600s)
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 | ||
| timeout_seconds | No |