Mercurial > public > ssdt-docker
annotate scripts/info.sh @ 478:8b3b95d8167d
USASR-5154 check version
author | belknapSSDT <zach.belknap@mcoecn.org> |
---|---|
date | Thu, 28 Sep 2023 15:59:30 -0400 |
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 |
191
fea886ba7279
DEP-12: add source for .functions.sh to all scripts using compose
smith@nwoca.org
parents:
85
diff
changeset
|
2 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:
85
diff
changeset
|
3 |
59 | 4 echo $BASH_VERSION |
62 | 5 docker version |
6 docker-compose version | |
66 | 7 echo "------- Docker info-------------" |
59 | 8 docker info |
66 | 9 echo "------- Images -----------------" |
85
8f45c43ea7a4
DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
66
diff
changeset
|
10 $SSDT_HOME/scripts/d-images.sh |
66 | 11 echo "------- Containers------" |
85
8f45c43ea7a4
DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
66
diff
changeset
|
12 $SSDT_HOME/scripts/d-ps.sh |
66 | 13 echo "------- OS Processes------------" |
61 | 14 top -b -n 1 |