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.
| Capability | containers.docker_network |
|---|---|
| Area | Containers and Kubernetes |
| Access | changes processes |
| Reaches | network |
| Rights | run |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
action | string | list (default), inspect or remove. |
name | string | Network or volume name (or id) for inspect and remove. |
dry_run | boolean | For remove: only report what would happen (default true). |
engine | string | Engine 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.
ferris-idea call ~/my-project docker_networkInput 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" ] } }}