comparison scripts/capture.sh @ 68:2418f77afad2

fix argument
author smith@nwoca.org
date Fri, 18 Mar 2016 01:12:11 +0100
parents a1907dab3f65
children 6aedaa7220db
comparison
equal deleted inserted replaced
67:a1907dab3f65 68:2418f77afad2
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 ID cat $(docker inspect --format='{{.LogPath}}' ID )