Create service
docker_create_serviceCreates a Docker service from a name and image, letting you configure ports, mounts, replicas, and context to deploy containerized workloads.
Instructions
Invoke the create_service 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": {
"name": "<name>",
"image": "<image>"
},
"name": "docker_create_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| image | Yes | ||
| ports | No | ||
| mounts | No | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| replicas | No |