From 519b7bebd97ea0dd94eeb1c68ac64ab45d9a8785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 29 Dec 2020 00:21:20 +0100 Subject: [PATCH] installer.sh: Expose the daemon.json config file used in error message It may not be a default location, we should probably be smarter in detecting that for special prefixes. --- installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer.sh b/installer.sh index e377a6e..4e3b256 100644 --- a/installer.sh +++ b/installer.sh @@ -85,10 +85,10 @@ else STORAGE_DRIVER=$(docker info -f "{{json .}}" | jq -r -e .Driver) LOGGING_DRIVER=$(docker info -f "{{json .}}" | jq -r -e .LoggingDriver) if [[ "$STORAGE_DRIVER" != "overlay2" ]]; then - warn "Docker is using $STORAGE_DRIVER and not 'overlay2' as the storage driver, this is not supported." + warn "Docker is using $STORAGE_DRIVER and not 'overlay2' as the storage driver, this is not supported. Update your $FILE_DOCKER_CONF accordingly." fi if [[ "$LOGGING_DRIVER" != "journald" ]]; then - warn "Docker is using $LOGGING_DRIVER and not 'journald' as the logging driver, this is not supported." + warn "Docker is using $LOGGING_DRIVER and not 'journald' as the logging driver, this is not supported. Update your $FILE_DOCKER_CONF accordingly." fi fi