Skip to content

Instantly share code, notes, and snippets.

@hakaneroztekin
Created June 16, 2022 10:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hakaneroztekin/f3082de6a9f67c8d9a16f4cb291cb545 to your computer and use it in GitHub Desktop.
Save hakaneroztekin/f3082de6a9f67c8d9a16f4cb291cb545 to your computer and use it in GitHub Desktop.
docker-network-inspect [docker in a nutshell]
$ docker network inspect my-bridge-network
[
{
"Name": "my-bridge-network",
"Id": "0ced7774d30c6be499dea707770a2a3783ef8336404d2b6bbb2e4d5743daebc9",
"Created": "2022-06-16T10:26:35.4088433Z",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": {},
"Config": [
{
"Subnet": "172.27.0.0/16",
"Gateway": "172.27.0.1"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {
"04b6cda3bdac0a942a9850d8f955a01d48a24e097b57597c03bf19e9e67f8634": {
"Name": "my-app",
"EndpointID": "09d9faa9251159e10da6398b639d989d9e0cf38b2a7d909e97f83eaf7ff709f8",
"MacAddress": "02:42:ac:1b:00:02",
"IPv4Address": "172.27.0.2/16",
"IPv6Address": ""
}
},
"Options": {},
"Labels": {}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment