docker_ps
List Docker containers on an instance with status, health, ports, and labels. Avoid SSH complexity by retrieving container details directly for monitoring.
Instructions
List Docker containers on one instance with state, health, restart count, published ports, and compose project/service labels. Read-only (docker inspect over SSH; sudo -n fallback). Returns JSON: {containers: [{name, image, status, health, restart_count, started_at, ports, compose_project, compose_service}]}. Errors: docker_not_available, docker_permission_denied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | Yes | Instance ID or name. |