Mercurial > public > ssdt-docker
diff scripts/capture.sh @ 68:2418f77afad2
fix argument
author | smith@nwoca.org |
---|---|
date | Fri, 18 Mar 2016 01:12:11 +0100 |
parents | a1907dab3f65 |
children | 6aedaa7220db |
line wrap: on
line diff
--- a/scripts/capture.sh Fri Mar 18 01:10:46 2016 +0100 +++ b/scripts/capture.sh Fri Mar 18 01:12:11 2016 +0100 @@ -1,3 +1,3 @@ #!/bin/bash # writes current logs to standard outfrom running containers in current compose project. -docker-compose ps -q | xargs -i ID cat $(docker inspect --format='{{.LogPath}}' ID ) +docker-compose ps -q | xargs -I ID cat $(docker inspect --format='{{.LogPath}}' ID )