network_list
List Docker networks with filters by name, ID, driver, or label. Optionally fetch extended details including connected containers for each network.
Instructions
List networks.
Valid filter keys: driver (driver name), label (key or key=value), type
("custom" or "builtin"). names/ids are a separate shorthand for filtering by exact
name/id, applied in addition to filters. Set greedy to fetch each network's attrs
individually (adds the connected-containers detail that network_inspect returns, at
the cost of one extra daemon call per network) - leave it False for a fast summary list.
Args:
names: Filter by exact network names
ids: Filter by exact network ids
filters: Additional server-side filters; see description for valid keys
greedy: Fetch extended per-network details (including connected containers)
managed_only: Only return networks created by this MCP server (filters on the docker-mcp-server.managed label);
combines with any filters given
Returns: list: One dict ({"Id", "Name", "Driver", "Scope", ...}) per network: summary attrs by default, full inspect attrs (adding "Containers") when greedy=True
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| names | No | ||
| greedy | No | ||
| filters | No | ||
| managed_only | No |