remote_docker
Control remote Docker containers over SSH: list, logs, start, stop, restart, stats, exec. No Docker API or open port required.
Instructions
Manage Docker containers on the remote Linux server via SSH. Actions: list, logs, start, stop, restart, stats, exec. No Docker API or open port needed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "remote_docker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Number of log lines to tail (for logs action, default: 50) | |
| action | Yes | Action to perform | |
| command | No | Shell command to run inside the container (required for exec) | |
| container | No | Container name or ID (required for all actions except list) |