From 6a86074a76ed84c6666cc255a320acc9b5f354d1 Mon Sep 17 00:00:00 2001 From: "William G. Thompson, Jr" Date: Sun, 9 Jun 2019 17:37:13 -0400 Subject: [PATCH] gte helper scripts --- gte-gsh | 9 +++++++++ gte-shell | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100755 gte-gsh create mode 100755 gte-shell diff --git a/gte-gsh b/gte-gsh new file mode 100755 index 0000000..46cad26 --- /dev/null +++ b/gte-gsh @@ -0,0 +1,9 @@ +#! /bin/bash + +if [ -z "$1" ] + then + docker ps --format "{{.Names}} {{.Image}} {{.Status}}" + exit 0 +fi + +docker exec -it "$1" /opt/grouper/grouper.apiBinary/bin/gsh 2> /dev/null diff --git a/gte-shell b/gte-shell new file mode 100755 index 0000000..28d01c8 --- /dev/null +++ b/gte-shell @@ -0,0 +1,9 @@ +#! /bin/bash + +if [ -z "$1" ] + then + docker ps --format "{{.Names}} {{.Image}} {{.Status}}" + exit 0 +fi + +docker exec -it "$1" /bin/bash 2> /dev/null