annotate scripts/capture.sh @ 231:83f3340fe2a1

fix exec mode
author Dave smith <smith@nwoca.org>
date Mon, 06 Nov 2017 10:34:54 -0500
parents fea886ba7279
children
rev   line source
55
77ff739c078d add script to provide shortened docker ps with ssdt labels
smith@nwoca.org
parents:
diff changeset
1 #!/bin/bash
159
303259c08b7d DEP-12: update backup scripts
smith@nwoca.org
parents: 85
diff changeset
2 # current logs to standard out from container (all containers by default) in current project
191
fea886ba7279 DEP-12: add source for .functions.sh to all scripts using compose
smith@nwoca.org
parents: 159
diff changeset
3 source "${SSDT_SCRIPTS:-$(dirname "${BASH_SOURCE[0]}")}/.functions.sh"
fea886ba7279 DEP-12: add source for .functions.sh to all scripts using compose
smith@nwoca.org
parents: 159
diff changeset
4
159
303259c08b7d DEP-12: update backup scripts
smith@nwoca.org
parents: 85
diff changeset
5 docker-compose logs --no-color $1
303259c08b7d DEP-12: update backup scripts
smith@nwoca.org
parents: 85
diff changeset
6