view scripts/capture.sh @ 69:6aedaa7220db

fix argument
author smith@nwoca.org
date Fri, 18 Mar 2016 01:16:32 +0100
parents 2418f77afad2
children b55117e40cd7
line wrap: on
line source
#!/bin/bash
# writes current logs to standard outfrom running containers in current compose project.
docker-compose ps -q | xargs -I{}  cat $(docker inspect --format='{{.LogPath}}' {} )