diff scripts/capture.sh @ 163:daf91a3bbee5 production v1.2.0

flow: Merged <release> 'v1.2.0' to <master> ('production').
author smith@nwoca.org
date Tue, 15 Aug 2017 21:59:23 +0100
parents 303259c08b7d
children fea886ba7279
line wrap: on
line diff
--- a/scripts/capture.sh	Fri Jun 16 17:14:15 2017 +0100
+++ b/scripts/capture.sh	Tue Aug 15 21:59:23 2017 +0100
@@ -1,3 +1,4 @@
 #!/bin/bash
-# writes tail of current logs to standard out from running containers in compose project.
-docker-compose ps -q | xargs -I ID docker inspect --format='{{.LogPath}}' ID | xargs tail -n${1-8000}
+# current logs to standard out from container (all containers by default) in current project
+docker-compose logs --no-color $1
+