view scripts/capture.sh @ 72:6f562946db80

increase lines
author smith@nwoca.org
date Fri, 18 Mar 2016 01:45:42 +0100
parents b6fe4a2411ee
children d2c44193fbaa
line wrap: on
line source
#!/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 -n8000