changeset 70:b55117e40cd7

fix argument
author smith@nwoca.org
date Fri, 18 Mar 2016 01:24:12 +0100
parents 6aedaa7220db
children b6fe4a2411ee
files scripts/capture.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/capture.sh	Fri Mar 18 01:16:32 2016 +0100
+++ b/scripts/capture.sh	Fri Mar 18 01:24:12 2016 +0100
@@ -1,3 +1,3 @@
 #!/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}}' {} ) 
+docker-compose ps -q | xargs -I{}  bash -c "cat $(docker inspect --format='{{.LogPath}}' {} ) "