docker_containers
Manage Docker containers: list, inspect, view logs and stats, and start, stop, restart, remove, or prune with approval for state changes.
Instructions
Containers. list, get, logs and stats are read-only. start, stop, restart, remove and prune change state and need the person's approval (or HOMELAB_DOCKER_ALLOW_WRITES=true). remove deletes a container permanently. prune removes ALL stopped containers. container is a name or id (not needed for list or prune).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| tail | No | ||
| limit | No | ||
| since | No | ||
| action | No | list | |
| offset | No | ||
| dry_run | No | ||
| timeout | No | ||
| container | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logs | No | ||
| items | No | ||
| stats | No | ||
| total | No | ||
| change | No | ||
| detail | No | ||
| has_more | No |