From 38ede803802f5f3e807ad2d2d36d8a9426dd2b25 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Thu, 2 Apr 2026 11:00:34 +0000 Subject: [PATCH 1/2] docs: update Docker API version error FAQ for CLI v2.15.1 auto-negotiation Generated-By: mintlify-agent --- troubleshooting/docker_api_version_error.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/troubleshooting/docker_api_version_error.md b/troubleshooting/docker_api_version_error.md index 3eedb7f..7154197 100644 --- a/troubleshooting/docker_api_version_error.md +++ b/troubleshooting/docker_api_version_error.md @@ -1,6 +1,6 @@ --- title: "Docker API version error in GitHub Actions" -description: 'How to fix the "client version 1.47 is too new" error when running the Kosli CLI in GitHub Action workflows.' +description: 'How to fix the "client version is too new" error when running the Kosli CLI with Docker operations.' --- ## Error @@ -9,7 +9,11 @@ description: 'How to fix the "client version 1.47 is too new" error when running Error response from daemon: client version 1.47 is too new. Maximum supported API version is 1.45 ``` -## Solution + +**Kosli CLI v2.15.1+:** This error is resolved automatically. The CLI now negotiates the Docker API version with the daemon, so it adapts to whatever Docker Engine version is available. Upgrade to v2.15.1 or later and no workaround is needed. + + +## Solution for CLI versions before v2.15.1 Set the `DOCKER_API_VERSION` environment variable in your workflow: @@ -20,4 +24,6 @@ env: ## Context -The latest Kosli CLI defaults to Docker API version 1.47, but GitHub Action workflows currently support a maximum of 1.45. +Prior to v2.15.1, the Kosli CLI defaulted to a fixed Docker API version (e.g., 1.47), which could be higher than what the Docker daemon on the host supports. This caused Docker operations (`--artifact-type docker`) to fail with a "client version is too new" error. + +From v2.15.1 onwards, the CLI automatically negotiates the API version with the Docker daemon, eliminating this issue. From 6ec58253e6b1189be32c69e5d1373a9126db5c65 Mon Sep 17 00:00:00 2001 From: Marko Bevc Date: Thu, 2 Apr 2026 14:54:55 +0100 Subject: [PATCH 2/2] Apply suggestion from @mbevc1 --- troubleshooting/docker_api_version_error.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/troubleshooting/docker_api_version_error.md b/troubleshooting/docker_api_version_error.md index 7154197..95ebab7 100644 --- a/troubleshooting/docker_api_version_error.md +++ b/troubleshooting/docker_api_version_error.md @@ -1,6 +1,6 @@ --- title: "Docker API version error in GitHub Actions" -description: 'How to fix the "client version is too new" error when running the Kosli CLI with Docker operations.' +description: 'How to fix the "client version 1.51 is too new" error when running the Kosli CLI with Docker operations.' --- ## Error