docker-restartContainer
Restart a Docker container by container ID on a chosen Dokploy server to recover a stopped or unhealthy service.
Instructions
POST /docker.restartContainer
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": {
"containerId": "<containerId>"
},
"name": "docker-restartContainer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serverId | No | ||
| containerId | Yes |