Mercurial > public > ssdt-docker
annotate scripts/capture.sh @ 70:b55117e40cd7
fix argument
author | smith@nwoca.org |
---|---|
date | Fri, 18 Mar 2016 01:24:12 +0100 |
parents | 6aedaa7220db |
children | b6fe4a2411ee |
rev | line source |
---|---|
55
77ff739c078d
add script to provide shortened docker ps with ssdt labels
smith@nwoca.org
parents:
diff
changeset
|
1 #!/bin/bash |
67
a1907dab3f65
add script to capture log files from compose containers
smith@nwoca.org
parents:
65
diff
changeset
|
2 # writes current logs to standard outfrom running containers in current compose project. |
70 | 3 docker-compose ps -q | xargs -I{} bash -c "cat $(docker inspect --format='{{.LogPath}}' {} ) " |