diff --git a/archtitus.sh b/archtitus.sh index 4538a32..b81338c 100755 --- a/archtitus.sh +++ b/archtitus.sh @@ -8,6 +8,11 @@ if [ "$EUID" -ne 0 ] then echo "Please run as root" exit fi +# @docker check +if grep -sq 'docker\|lxc' /proc/1/cgroup + then + echo "running in docker container, no supported (at the moment)" +fi # Find the name of the folder the scripts are in set -a SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"