docker-stopContainer
Stops a running Docker container on a Dokploy server by container ID and optional server ID, helping halt workloads or apply updates.
Instructions
POST /docker.stopContainer
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-stopContainer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serverId | No | ||
| containerId | Yes |