Created
February 12, 2019 17:43
-
-
Save pcostesi/a696ce8a58084b5238a3cd057e891bbe to your computer and use it in GitHub Desktop.
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 | |
set -euo pipefail | |
files=$(find . -name "docker-compose.*" -maxdepth 3) | |
for i in $files; do | |
pushd $(dirname "$i") | |
docker-compose down | |
popd | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment