1 2 3 4 5 6 7 8 9 10
#!/bin/sh EXENAME=sbeezg SCRIPTPATH=`realpath $0` SCRIPTDIR=`dirname $SCRIPTPATH` . $SCRIPTDIR/../catseye/$EXENAME/settings.sh IMAGE=$ORGNAME/$EXENAME:$VERSION docker run --user $(id -u):$(id -g) -i -t -v "${PWD}:/mnt/host" $IMAGE $EXENAME "$@"