recreate_container
Apply configuration changes by recreating a Docker container: stops, removes, and re-creates it with the same configuration.
Instructions
Recreate a container with the same configuration (stop, remove, re-create). Useful for applying config changes.
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": {
"container_id": "<container_id>"
},
"name": "recreate_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_id | Yes | Container ID or name | |
| timeout | No | Seconds to wait before killing (default: 10) |