detect_container_runtime
Detects installed container runtime (Docker or Podman).RuntimeInfo
Detected runtime
Version string from
--versioncheck_container_runtime
Pre-flight check for container runtime availability. Always performs a fresh probe.Discriminated union:
{ kind: 'ready', binary: string, version: string }{ kind: 'missing' }
compose_up
Starts services defined in a Docker Compose file, streaming health status.Absolute path to
docker-compose.yamlEvent channel for service status updates
Emits events via channel until all services are healthy or timeout occurs
ServiceEvent
Discriminated union:compose_down
Stops and removes services from a Compose file.Absolute path to
docker-compose.yamlIf true, removes named volumes (equivalent to
docker compose down -v)container_list
Lists containers for a Compose project.ContainerInfo
Container ID
Container name
Image name
Status string (e.g.,
'Up 5 minutes')Health status:
'healthy' | 'unhealthy' | 'starting' | ''Port mappings (e.g.,
'0.0.0.0:5432->5432/tcp')container_logs
Streams logs from a container.Container name (not ID)
Event channel for log lines
LogEvent
Discriminated union:container_action
Performs an action on a container.One of:
'start' | 'stop' | 'restart'