List all Networks a Container Belongs to

PHOTO EMBED

Wed Feb 02 2022 21:40:50 GMT+0000 (UTC)

Saved by @jimbrig #docker #networking

docker inspect -f '{{range $key, $value := .NetworkSettings.Networks}}{{$key}} {{end}}' [container]
content_copyCOPY

https://maximorlov.com/4-reasons-why-your-docker-containers-cant-talk-to-each-other/