Skip to content
Permalink
Browse files

gte helper scripts

  • Loading branch information
wgthom committed Jun 9, 2019
1 parent 01335e7 commit 6a86074a76ed84c6666cc255a320acc9b5f354d1
Showing with 18 additions and 0 deletions.
  1. +9 −0 gte-gsh
  2. +9 −0 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" /opt/grouper/grouper.apiBinary/bin/gsh 2> /dev/null
@@ -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

0 comments on commit 6a86074

Please sign in to comment.
You can’t perform that action at this time.