Last active
June 15, 2022 00:05
-
-
Save stnguyen90/70b4daf45039f8b88b223d0f60fa2105 to your computer and use it in GitHub Desktop.
Get the networks an open runtime container is part of
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker inspect --format '{{.Name}}:{{range $k, $v := .NetworkSettings.Networks}}{{printf "\n %s" $k}}{{end}}{{printf "\n"}}' `docker ps --filter 'label=utopia-type=runtime' -q` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment