-
-
Save vinaydotblog/4df45f13114230892338d9ba67333005 to your computer and use it in GitHub Desktop.
List all Docker Compose projects currently running
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
#!/bin/bash | |
docker ps --filter "label=com.docker.compose.project" -q | xargs docker inspect --format='{{index .Config.Labels "com.docker.compose.project"}}'| uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment