Created
March 11, 2019 09:48
-
-
Save sebastian13/b1e29a2f334320dac1cae98e5a42b38f 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 | |
# Look for subdirectories starting with a letter | |
# and reset all containers | |
for d in [a-z]* | |
do | |
( cd "$d" && docker-compose down --remove-orphans && docker-compose up -d ) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment