From 46c5a7990c8e399735339d8bda8452fe41147a39 Mon Sep 17 00:00:00 2001 From: John Howard Date: Fri, 4 Nov 2016 09:54:58 -0700 Subject: [PATCH] Windows: Allow API v1.24 Signed-off-by: John Howard Upstream-commit: e4af39aeb311a08fd2d15e01eabd6bae9db36382 Component: engine --- components/engine/api/common_windows.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/engine/api/common_windows.go b/components/engine/api/common_windows.go index 4affa21e30..d930fa0720 100644 --- a/components/engine/api/common_windows.go +++ b/components/engine/api/common_windows.go @@ -1,4 +1,8 @@ package api // MinVersion represents Minimum REST API version supported -const MinVersion string = "1.25" +// Technically the first daemon API version released on Windows is v1.25 in +// engine version 1.13. However, some clients are explicitly using downlevel +// APIs (eg docker-compose v2.1 file format) and that is just too restrictive. +// Hence also allowing 1.24 on Windows. +const MinVersion string = "1.24"