From 3b6086118945b72db0b522dadb66d01e3bb40846 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Thu, 20 Nov 2025 15:50:00 +0100 Subject: [PATCH] downgrade docker to fix incompatibility with synology DSM Signed-off-by: Simon L. --- .github/dependabot.yml | 2 ++ Containers/mastercontainer/Dockerfile | 3 ++- Containers/mastercontainer/start.sh | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f79c4ce2..f40b2582 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -58,3 +58,5 @@ updates: update-types: ["version-update:semver-major"] - dependency-name: "elasticsearch" update-types: ["version-update:semver-major"] + - dependency-name: "docker" + update-types: ["version-update:semver-major"] diff --git a/Containers/mastercontainer/Dockerfile b/Containers/mastercontainer/Dockerfile index 179c0a76..c642ab15 100644 --- a/Containers/mastercontainer/Dockerfile +++ b/Containers/mastercontainer/Dockerfile @@ -1,6 +1,7 @@ # syntax=docker/dockerfile:latest # Docker CLI is a requirement -FROM docker:29.0.2-cli AS docker +# Needs to stay on v28 for now until Synology upgrades their docker version to at least v25 +FROM docker:28.5.2-cli AS docker # Caddy is a requirement FROM caddy:2.10.2-alpine AS caddy diff --git a/Containers/mastercontainer/start.sh b/Containers/mastercontainer/start.sh index 243287ea..8e2bbcda 100644 --- a/Containers/mastercontainer/start.sh +++ b/Containers/mastercontainer/start.sh @@ -76,7 +76,7 @@ elif ! sudo -u www-data test -r /var/run/docker.sock; then fi # Check if api version is supported -if ! sudo -u www-data docker info &>/dev/null; then +if ! sudo -u www-data docker info >/dev/null; then print_red "Cannot connect to the docker socket. Cannot proceed." echo "Did you maybe remove group read permissions for the docker socket? AIO needs them in order to access the docker socket." echo "If SELinux is enabled on your host, see https://github.com/nextcloud/all-in-one#are-there-known-problems-when-selinux-is-enabled"