remove_container
Delete a Docker container using its ID or name, optionally forcing removal of running containers. Simplifies container management in the Docker MCP Server environment.
Instructions
Remove a Docker container
Input Schema
Name | Required | Description | Default |
---|---|---|---|
container | Yes | Container ID or name | |
force | No | Force removal of running container |
Input Schema (JSON Schema)
{
"properties": {
"container": {
"description": "Container ID or name",
"type": "string"
},
"force": {
"description": "Force removal of running container",
"type": "boolean"
}
},
"required": [
"container"
],
"type": "object"
}