diff scripts/capture.sh @ 112:a2054815e873

complete merge
author smith@nwoca.org
date Mon, 24 Apr 2017 15:41:45 +0100
parents 8f45c43ea7a4
children 303259c08b7d
line wrap: on
line diff
--- a/scripts/capture.sh	Tue Apr 11 02:18:48 2017 +0100
+++ b/scripts/capture.sh	Mon Apr 24 15:41:45 2017 +0100
@@ -1,3 +1,3 @@
 #!/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}
+# writes tail of current logs to standard out from containers in compose project.
+docker-compose logs --no-color $1
\ No newline at end of file