Skip to content

Instantly share code, notes, and snippets.

@GuyBarros
Created February 12, 2019 12:22
Show Gist options
  • Save GuyBarros/66abfcb0bade8eed52a0a5ac866df445 to your computer and use it in GitHub Desktop.
Save GuyBarros/66abfcb0bade8eed52a0a5ac866df445 to your computer and use it in GitHub Desktop.
John's PTFE troubleshooting script
#!/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