Run container
docker_run_containerLaunch a Docker container from a specified image with configurable ports, volumes, environment variables, command, labels, and detached mode.
Instructions
Invoke the run_container operation.
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 |
|---|---|---|---|
| name | No | ||
| image | Yes | ||
| ports | No | ||
| detach | No | ||
| labels | No | ||
| command | No | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| volumes | No | ||
| environment | No |