docker:networking:inspect_a_network
This is an old revision of the document!
Docker - Networking - Inspect a network
To view network configuration details:
docker network inspect bridge
returns:
[ { "Name": "bridge", "Id": "45df8a26c099f2a59310a10cca96f9833602153eeb48256551834bba3cdb4821", "Created": "2025-07-14T01:42:04.455631497+01:00", "Scope": "local", "Driver": "bridge", "EnableIPv4": true, "EnableIPv6": false, "IPAM": { "Driver": "default", "Options": null, "Config": [ { "Subnet": "172.17.0.0/16", "Gateway": "172.17.0.1" } ] }, "Internal": false, "Attachable": false, "Ingress": false, "ConfigFrom": { "Network": "" }, "ConfigOnly": false, "Containers": {}, "Options": { "com.docker.network.bridge.default_bridge": "true", "com.docker.network.bridge.enable_icc": "true", "com.docker.network.bridge.enable_ip_masquerade": "true", "com.docker.network.bridge.host_binding_ipv4": "0.0.0.0", "com.docker.network.bridge.name": "docker0", "com.docker.network.driver.mtu": "1500" }, "Labels": {} } ]
NOTE: The syntax of the docker network inspect command is docker network inspect <network>, where <network> can be either network name or network ID.
- Do not confuse this with the “bridge” driver.
docker/networking/inspect_a_network.1752489483.txt.gz · Last modified: 2025/07/14 10:38 by peter