Created
February 12, 2019 12:22
-
-
Save GuyBarros/66abfcb0bade8eed52a0a5ac866df445 to your computer and use it in GitHub Desktop.
John's PTFE troubleshooting script
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 | |
for pid in $(docker ps -a --format="{{.Names}}") | |
do | |
docker logs -f $pid > /tmp/$pid.log 2> /tmp/$pid.err & | |
done | |
tail -f /tmp/*.{log,err} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment