comparison scripts/capture.sh @ 70:b55117e40cd7

fix argument
author smith@nwoca.org
date Fri, 18 Mar 2016 01:24:12 +0100
parents 6aedaa7220db
children b6fe4a2411ee
comparison
equal deleted inserted replaced
69:6aedaa7220db 70:b55117e40cd7
1 #!/bin/bash 1 #!/bin/bash
2 # writes current logs to standard outfrom running containers in current compose project. 2 # writes current logs to standard outfrom running containers in current compose project.
3 docker-compose ps -q | xargs -I{} cat $(docker inspect --format='{{.LogPath}}' {} ) 3 docker-compose ps -q | xargs -I{} bash -c "cat $(docker inspect --format='{{.LogPath}}' {} ) "