From da095c30d6ff22b9a8bb3b7abaf5237066f19fc5 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Tue, 1 Aug 2017 18:07:57 -0300 Subject: [PATCH] Better message when low on space in docker disk --- launcher | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/launcher b/launcher index 57fae20..0a90baa 100755 --- a/launcher +++ b/launcher @@ -201,7 +201,8 @@ check_prereqs() { safe_folder=${folder:-/var/lib/docker} test=$(($(stat -f --format="%a*%S" $safe_folder)/1024**3 < 5)) if [[ $test -ne 0 ]] ; then - echo "You have less than 5GB of free space on the disk. You will need more space to continue" + echo "You have less than 5GB of free space on the disk where $safe_folder is located. You will need more space to continue" + df -h $safe_folder echo read -p "Would you like to attempt to recover space by cleaning docker images and containers in the system?(y/N)" -n 1 -r echo -- 2.25.1