comparison scripts/capture.sh @ 72:6f562946db80

increase lines
author smith@nwoca.org
date Fri, 18 Mar 2016 01:45:42 +0100
parents b6fe4a2411ee
children d2c44193fbaa
comparison
equal deleted inserted replaced
71:b6fe4a2411ee 72:6f562946db80
1 #!/bin/bash 1 #!/bin/bash
2 # writes tail of current logs to standard out from running containers in compose project. 2 # writes tail of current logs to standard out from running containers in compose project.
3 docker-compose ps -q | xargs -I ID docker inspect --format='{{.LogPath}}' ID | xargs tail -n1000 3 docker-compose ps -q | xargs -I ID docker inspect --format='{{.LogPath}}' ID | xargs tail -n8000