Skip to content

docker_image

MCP tools › Containers and Kubernetes

One Docker image: pull (digest; warns on no tag or latest), remove (refused while a container uses it), inspect (id, tags, size, platform, users). pull/remove default to dry_run=true; dry_run=false needs the run right and is logged.

Its results carry text from process: the client is told to treat that as data, never as instructions.

Capabilitycontainers.docker_image
AreaContainers and Kubernetes
Accesschanges processes
Reachesnetwork
Rightsrun
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
actionrequiredstringpull, remove or inspect.
imagerequiredstringImage reference (busybox:1.36.1, ghcr.io/org/app@sha256:…) or id.
dry_runbooleanFor pull and remove: only report what would happen (default true).
enginestringEngine by name or address.

Call it from a shell

ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.

Terminal window
ferris-idea call ~/my-project docker_image '{"action":"<string>","image":"<string>"}'
Input schema as JSON
{
"type": "object",
"required": [
"action",
"image"
],
"properties": {
"action": {
"description": "`pull`, `remove` or `inspect`.",
"type": "string"
},
"image": {
"description": "Image reference (`busybox:1.36.1`, `ghcr.io/org/app@sha256:…`) or id.",
"type": "string"
},
"dry_run": {
"description": "For `pull` and `remove`: only report what would happen (default true).",
"type": [
"boolean",
"null"
]
},
"engine": {
"description": "Engine by name or address.",
"type": [
"string",
"null"
]
}
}
}