From 06cb48b300424a60af6822f0a97ae0ac4ec41c00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Salavisa?= Date: Sat, 18 Apr 2026 11:06:32 +0100 Subject: [PATCH] fix(docker): use API version negotiation instead of hardcoded 1.41 (#636) The default Docker API version was hardcoded to 1.41, which fails on newer Docker daemons that require at least API version 1.44. Change the default to empty string so the Docker client uses the existing WithAPIVersionNegotiation() option to auto-negotiate a compatible version with the daemon. --- apps/backend/internal/common/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend/internal/common/config/config.go b/apps/backend/internal/common/config/config.go index a86af0bae4..0bb984a4ba 100644 --- a/apps/backend/internal/common/config/config.go +++ b/apps/backend/internal/common/config/config.go @@ -263,7 +263,7 @@ func setDefaults(v *viper.Viper) { // Docker defaults — platform-aware host and volume path v.SetDefault("docker.enabled", true) // Docker runtime enabled by default if Docker is available v.SetDefault("docker.host", DefaultDockerHost()) - v.SetDefault("docker.apiVersion", "1.41") + v.SetDefault("docker.apiVersion", "") // Empty = auto-negotiate with daemon v.SetDefault("docker.tlsVerify", false) v.SetDefault("docker.defaultNetwork", "kandev-network") v.SetDefault("docker.volumeBasePath", defaultDockerVolumePath())