Last active
February 19, 2020 19:08
-
-
Save conclusionlogic/9532ae488cbadd9b503f9e833494c3c8 to your computer and use it in GitHub Desktop.
[list all docker-compose projects] lists all docker-compose projects with project name set #docker #docker-compose #bash #shell
This file contains hidden or 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 ps --filter "label=com.docker.compose.project" -q | xargs docker inspect --format='{{index .Config.Labels "com.docker.compose.project"}}' | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment