docker-killContainer
Terminate a running Docker container in Dokploy by specifying its container ID, optionally targeting a server, to stop the container process.
Instructions
POST /docker.killContainer
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-killContainer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serverId | No | ||
| containerId | Yes |