Skip to content

docker_network

MCP tools › Containers and Kubernetes

Docker networks: list (name, driver, scope, built_in, attached containers), inspect (subnets, gateways, containers with addresses, labels; secrets masked, plus the inspect JSON), remove (refused for bridge/host/none and while containers are attached, without asking the engine). remove defaults 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_network
AreaContainers and Kubernetes
Accesschanges processes
Reachesnetwork
Rightsrun
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
actionstringlist (default), inspect or remove.
namestringNetwork or volume name (or id) for inspect and remove.
dry_runbooleanFor 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_network
Input schema as JSON
{
"type": "object",
"additionalProperties": false,
"properties": {
"action": {
"description": "`list` (default), `inspect` or `remove`.",
"type": [
"string",
"null"
]
},
"name": {
"description": "Network or volume name (or id) for `inspect` and `remove`.",
"type": [
"string",
"null"
]
},
"dry_run": {
"description": "For `remove`: only report what would happen (default true).",
"type": [
"boolean",
"null"
]
},
"engine": {
"description": "Engine by name or address.",
"type": [
"string",
"null"
]
}
}
}