Skip to content

Instantly share code, notes, and snippets.

@ukchukx
Created January 21, 2020 20:21
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 ukchukx/3cb94f9caa756513e73f87f67867fc65 to your computer and use it in GitHub Desktop.
Save ukchukx/3cb94f9caa756513e73f87f67867fc65 to your computer and use it in GitHub Desktop.
$ docker network inspect kong-net
# Sample output
[
{
"Name": "kong-net",
"Id": "1176776a97a0d22a44789cdd8fb4408cb80e4af086ac6474ab503704fda06c40",
# ...
"Containers": {
# ... "3a21018c6c9a6c0877ac182e7cd0e3e3da0af87b36d1f2a4882f76fe43a03a27": {
"Name": "kc_backend",
"EndpointID": "8e7aec61796e745cff0e0e79d3e723b76dba52305c91d19aade6825a3e43d6e9",
"MacAddress": "02:42:ac:13:00:04",
"IPv4Address": "172.19.0.4/16",
"IPv6Address": ""
},
# ...
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment