-
Hello I was trying to use this on macOS using Colima. level=error msg="dockerutil.BuildEmptyImage: dockerapi.BuildImage() error = API error (400): client version 1.12 is too old. Minimum supported API
version is 1.24, please upgrade your client to a newer version / output: ... This is the output of ❯ mint version
cmd=version info=app location='/usr/local/bin' status='OUTDATED' current='1.41.4' verdict='your installed version is OUTDATED (local=1.41.5 current=1.41.4)' cmd='version' version=
'darwin/arm64|Aurora|1.41.5|4cc2b185c9cdcd6d0586246e21d8aecc5d847feb|2024-07-01_04:36:47AM' container='false' dsimage='false'
cmd=version info=host cmd='version' osname='Sonoma (14.6)' osbuild='23G80' version=' Fri Jul 5 17:53:24 PDT 2024; root:xnu-10063.141.1~2/RELEASE_ARM64_T6020' release='23.6.0' sys
name='darwin'
cmd=version info=docker cmd='version' name='colima' kernel.version='6.8.0-36-generic' operating.system='Ubuntu 24.04 LTS' ostype='linux' server.version='27.1.1' architecture='aarc
h64'
cmd=version info=dclient cmd='version' api.version='1.46' min.api.version='1.24' build.time='2024-07-23T20:00:07.000000000+00:00' git.commit='cc13f95' (unrelated: the reported latest version is wrong for some reason it's and Client: Docker Engine - Community
Version: 27.1.1
API version: 1.46
Go version: go1.22.5
Git commit: 63125853e3
Built: Fri Jul 19 17:35:01 2024
OS/Arch: darwin/arm64
Context: colima
Server: Docker Engine - Community
Engine:
Version: 27.1.1
API version: 1.46 (minimum version 1.24)
Go version: go1.21.12
Git commit: cc13f95
Built: Tue Jul 23 20:00:07 2024
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.7.19
GitCommit: 2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41
runc:
Version: 1.7.19
GitCommit: v1.1.13-0-g58aa920
docker-init:
Version: 0.19.0
GitCommit: de40ad0 The error message hint that the client (mint) uses an api version Is there any way I can work around this/fix it? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
@eratio08 need to debug this behavior... because the (Docker) API version should default to |
Beta Was this translation helpful? Give feedback.
-
@kcq I've also noticed that |
Beta Was this translation helpful? Give feedback.
-
The next version will have support for Docker contexts. In addition to defaulting to the current context it'll be possible to select a specific context like this: |
Beta Was this translation helpful? Give feedback.
@eratio08 need to debug this behavior... because the (Docker) API version should default to
1.25
. You should be able to use the global--crt-api-version
flag to select an API version to use. There's also a native way to do it with theDOCKER_API_VERSION
environment variable (try it if--crt-api-version
doesn't work for you)