comparison scripts/capture.sh @ 69:6aedaa7220db

fix argument
author smith@nwoca.org
date Fri, 18 Mar 2016 01:16:32 +0100
parents 2418f77afad2
children b55117e40cd7
comparison
equal deleted inserted replaced
68:2418f77afad2 69:6aedaa7220db
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 ID cat $(docker inspect --format='{{.LogPath}}' ID ) 3 docker-compose ps -q | xargs -I{} cat $(docker inspect --format='{{.LogPath}}' {} )