Created
May 27, 2021 16:46
-
-
Save rjchicago/070a4e7a8ef48b85143f0edfd51f6ad5 to your computer and use it in GitHub Desktop.
Get Docker services by network
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
NETWORK=$1 | |
docker network inspect $NETWORK -v | jq -r '.[0] .Services | to_entries[] | .key' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment