diff scripts/capture.sh @ 85:8f45c43ea7a4 feature/djs-DEP-12-docker

DEP-12: start upgrading scripts and compose files for RC and docker 1.12
author Dave Smith <smith@nwoca.org>
date Wed, 21 Sep 2016 19:00:41 -0400
parents d2c44193fbaa
children 303259c08b7d
line wrap: on
line diff
--- a/scripts/capture.sh	Wed Sep 21 19:00:11 2016 -0400
+++ b/scripts/capture.sh	Wed Sep 21 19:00:41 2016 -0400
@@ -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