From 05ab3350b9dd24fd1fec2ed4beadc5ce810985fd Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Sun, 9 Dec 2018 14:33:14 +0100 Subject: [PATCH] AUFS isn't supported yet --- static/docker_overlay2.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/static/docker_overlay2.sh b/static/docker_overlay2.sh index 828c3745..4084e3a2 100644 --- a/static/docker_overlay2.sh +++ b/static/docker_overlay2.sh @@ -17,6 +17,15 @@ debug_mode # https://www.techandme.se/changes-to-docker-ce-in-the-nextcloud-vm/ # Credits to: https://gist.github.com/hydra1983/22b2bed38b4f5f56caa87c830c96378d +# Check if aufs and don't run +if grep -q "aufs" /etc/default/docker +then +msg_box "This script doesn't support images that uses the AUFS driver, sorry + +You are welcome to send a PR, or report an issue here: $ISSUES" + exit 1 +fi + readonly DB_FILE="$DOCKERBACKUP/images.db" readonly IMG_DIR="$DOCKERBACKUP/images"