annotate scripts/capture.sh @ 72:6f562946db80

increase lines
author smith@nwoca.org
date Fri, 18 Mar 2016 01:45:42 +0100
parents b6fe4a2411ee
children d2c44193fbaa
rev   line source
55
77ff739c078d add script to provide shortened docker ps with ssdt labels
smith@nwoca.org
parents:
diff changeset
1 #!/bin/bash
71
b6fe4a2411ee restructure to handle xarg replacement
smith@nwoca.org
parents: 70
diff changeset
2 # writes tail of current logs to standard out from running containers in compose project.
72
6f562946db80 increase lines
smith@nwoca.org
parents: 71
diff changeset
3 docker-compose ps -q | xargs -I ID docker inspect --format='{{.LogPath}}' ID | xargs tail -n8000