annotate scripts/capture.sh @ 199:ab47ca9899ea

DEP-12: update training db scripts
author smith@nwoca.org
date Mon, 25 Sep 2017 21:50:52 +0100
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