docker_run_container
Run a new Docker container with custom image, port mappings, environment variables, and volume mounts.
Instructions
Run a new Docker container
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": {
"image": "<image>"
},
"name": "docker_run_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Docker image to run | |
| name | No | Container name | |
| ports | No | Port mappings (e.g., "8080:80") | |
| env | No | Environment variables | |
| volumes | No | Volume mounts |