This commit is contained in:
Nils Strelow 2020-09-04 11:09:53 +02:00 committed by GitHub
parent 8fc3caddfb
commit a23c1e428d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,10 +54,10 @@ EOF
info "Restarting docker service"
systemctl restart "$DOCKER_SERVICE"
else
STORRAGE_DRIVER=$(docker info -f "{{json .}}" | jq -r -e .Driver)
STORAGE_DRIVER=$(docker info -f "{{json .}}" | jq -r -e .Driver)
LOGGING_DRIVER=$(docker info -f "{{json .}}" | jq -r -e .LoggingDriver)
if [[ "$STORRAGE_DRIVER" != "overlay2" ]]; then
warn "Docker is using $STORRAGE_DRIVER and not 'overlay2' as the storrage driver, this is not supported."
if [[ "$STORAGE_DRIVER" != "overlay2" ]]; then
warn "Docker is using $STORAGE_DRIVER and not 'overlay2' as the storage driver, this is not supported."
fi
if [[ "$LOGGING_DRIVER" != "journald" ]]; then
warn "Docker is using $LOGGING_DRIVER and not 'journald' as the logging driver, this is not supported."