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.
This commit is contained in:
Marco Trevisan (Treviño) 2020-12-29 00:21:20 +01:00
parent ef006af071
commit 519b7bebd9

View file

@ -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