docker_stop
Stop running Docker containers by name or ID to halt application processes and free system resources for development environments.
Instructions
Stop one or more running containers
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| containers | Yes | Container name(s) or ID(s) | |
| timeout | No | Seconds to wait before killing container | |
| cwd | No | Working directory |
Input Schema (JSON Schema)
{
"properties": {
"containers": {
"description": "Container name(s) or ID(s)",
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"cwd": {
"description": "Working directory",
"type": "string"
},
"timeout": {
"description": "Seconds to wait before killing container",
"type": "number"
}
},
"required": [
"containers"
],
"type": "object"
}