[
{
"Name": "bridge",
"Id": "2a117de2bc7a99eeb98c6ebb6ccf86e4cd6a3c67888f3de77ede96a9703f0072",
"Created": "2020-08-15T04:09:31.832742981Z",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.17.0.0/16"
}
]
},
"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": {}
}
]
这是我在自己mac上运行了docker inspect的结果,
是看这个吗? com.docker.network.bridge.name=docker0,所以bridge对应docker0 哦?