Skip to content

Instantly share code, notes, and snippets.

@simmogs
Created December 8, 2016 14:22
Show Gist options
  • Save simmogs/625c29b8dda3ef2a9fcfbcc67a4b6afb to your computer and use it in GitHub Desktop.
Save simmogs/625c29b8dda3ef2a9fcfbcc67a4b6afb to your computer and use it in GitHub Desktop.
docker network inspect for staging and production
[
{
"Name": "bridge",
"Id": "b636058b73f7df986e1fee1fa052b1af465238b1f54bb330332653dc3142aa17",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.17.0.0/16",
"Gateway": "172.17.0.1"
}
]
},
"Internal": false,
"Containers": {
"99a2b381b68718533e4fa447e6e29257ef71eeae88587135c86c20013044792f": {
"Name": "bymysql",
"EndpointID": "c2035d6d3dc3f47d210e69b558e78d6d3be09b396e2d3974f363aa00916b665c",
"MacAddress": "02:42:ac:11:00:02",
"IPv4Address": "172.17.0.2/16",
"IPv6Address": ""
}
},
"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": {}
}
]
[
{
"Name": "bridge",
"Id": "bffa7e16e0f27646ca619521927a3d04a1bae19dbdef772efaffa103b0d76ad1",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.17.0.0/16",
"Gateway": "172.17.0.1"
}
]
},
"Internal": false,
"Containers": {
"7046b2f7b7cec06dc36c8bd91c7c9d13da7a7b237e3ad10934f2c1e2dd317806": {
"Name": "bymysql",
"EndpointID": "832654a37442bef9d2bd76cc8993de966aa61bb5d935cb23672f9c10ccecaf5a",
"MacAddress": "02:42:ac:11:00:02",
"IPv4Address": "172.17.0.2/16",
"IPv6Address": ""
}
},
"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": {}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment