docker_ps
List Docker containers on a server to check status, health, restart counts, ports, and Compose labels. Use it for read-only inventory and troubleshooting container state.
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. '<account>/<name>' picks the server of one provider account; custom servers are 'custom/<name>'. |