"client version 1.32 is too old. Minimum supported API version is 1.40" on ubuntu-latest (Ubuntu 26.04): Docker 29 and Testcontainers
ubuntu-latest is moving from Ubuntu 24.04 to 26.04 between October 19 and November 19, 2026 (what else changes). The 26.04 image has Docker 29.4.2, whose daemon speaks API 1.54 and refuses anything below 1.40. The 24.04 image has Docker 28.0.4, which still accepted older clients. A client that negotiates the version with the daemon, such as the docker CLI, is not affected; a client that sends a fixed old version is refused.
Docker 29.0 raised the minimum to 1.44, and 29.3.0 lowered it to 1.40 (Docker 29 release notes). So the same message says 1.44 on a machine with Docker 29.0 to 29.2, and 1.40 on the runner.
The messages
The daemon's own answer, here to a test proxy that called /v1.32/ paths directly (twilio-voice.js #492):
client version 1.32 is too old. Minimum supported API version is 1.40, please upgrade your client to a newer version
Testcontainers for Java hides it. Every test class that starts a container fails with a generic message, and the reason is only in Testcontainers' own log (elioo-health #169, 61 of 2179 tests failed):
java.lang.IllegalStateException: Could not find a valid Docker environment. Please see logs and check configuration
...
UnixSocketClientProviderStrategy: failed with exception BadRequestException (Status 400: {"message":"client version 1.32 is too old. Minimum supported API version is 1.40, please upgrade your client to a newer version"}
Testcontainers before 1.21.4 sets the docker-java API version to 1.32 when none is configured. In thirdeye #1820 the first module with Testcontainers had 11 failures and 86 skipped tests, and the build stopped there, so none of the later modules ran.
When an old Docker client is refused on Ubuntu 26.04: Pipeline Inbox for GitHub Actions Workflows, a plugin for JetBrains IDEs, lists the runs of all your repositories with their jobs and steps in an IDE tool window, so the jobs that fail at their Docker step stand out.
Fix 1: Testcontainers 1.21.4 or 2.x
1.21.4 is the 1.x release made to work with the recent Docker Engine changes: it tries API 1.44 and falls back to 1.32. thirdeye went from 11 failures to 0 with a one-line version change and no code changes. 2.x has the fix too, but renames artifacts, for example mysql to testcontainers-mysql.
Check the version that actually runs, not only the one you declare. In elioo-health the modules declared 1.19.7, but the Spring Boot BOM pulled testcontainers and jdbc up to 1.20.4, so one test classpath held two versions. gradle dependencies or mvn dependency:tree shows the resolved version, and the first lines of Testcontainers' log print it (Testcontainers version: 1.20.4).
Fix 2: set the API version for docker-java
If you cannot upgrade yet, give docker-java a version the daemon accepts. Remote-Falcon #204 uses this locally on Docker 29: write api.version=1.44 to ~/.docker-java.properties, or pass -Dapi.version=1.44 to the test JVM.
- name: Pin the docker-java API version run: echo 'api.version=1.44' >> ~/.docker-java.properties
The DOCKER_API_VERSION variable does not help here, because docker-java does not read it.
Fix 3: lower the minimum on the runner's daemon
When the old client is inside a tool you do not control, let the daemon accept it. liberia-emr #341 needed this for a Maven plugin that starts Testcontainers 1.15, which always asks for API 1.30. Its step passed on ubuntu-26.04 20261025.179.1 and printed Docker 29.4.2, min API 1.24:
- name: Allow older Docker API versions
run: |
sudo mkdir -p /etc/systemd/system/docker.service.d
printf '[Service]\nEnvironment=DOCKER_MIN_API_VERSION=1.24\n' \
| sudo tee /etc/systemd/system/docker.service.d/min-api-version.conf
sudo systemctl daemon-reload
sudo systemctl restart docker
docker version --format 'Docker {{.Server.Version}}, min API {{.Server.MinAPIVersion}}'
DOCKER_MIN_API_VERSION is read by the daemon when it starts, so putting it in the job's env: changes nothing. The restart can stop containers that are already running, and the containers of a job's services: start before the first step. In a job with services:, prefer Fix 1 or 2.
Telling it apart
docker version --format '{{.Server.APIVersion}} {{.Server.MinAPIVersion}}'prints1.54 1.40on the 26.04 image.- In a job with
services:orcontainer:, the "Initialize containers" step logsDocker daemon API version: '1.54'on 26.04 and'1.48'on 24.04. - Look at "Set up job": the Runner Image group says
ubuntu-26.04orubuntu-24.04. Until November 19 a re-run can land on 24.04 and pass, so a green re-run proves nothing.runs-on: ubuntu-24.04holds until GitHub retires that image.
Other 26.04 failures
- "does not have a Release file" on Ubuntu 26.04: apt.llvm.org has no clang 17 to 20 for
resoluteand the ondrej/php PPA nothing at all, soapt-get updateexits with code 100; installclang-17from Ubuntu, or move PHP to packages.sury.org. - "conda: command not found" on Ubuntu 26.04: the image has no Miniconda and
CONDAis empty, so steps that add$CONDA/binto the PATH, as GitHub's starter workflow and Microsoft's Azure Pipelines guide do, find no conda; install it with setup-miniconda or Miniforge. - ansible-test 2.22 and devel: "mount -o remount,rw /sys/fs/cgroup/ && pkill sleep" returned exit status 1: on the 7.0 azure kernel of the 24.04 and 26.04 images the default test container often fails to start, and re-runs rarely help; run those jobs on
ubuntu-22.04. - "MongoDB cannot start: Linux kernel versions 6.19 and newer": mongo:8.0 and mongo:8.3 read the 7.0 azure kernel of the 24.04 and 26.04 images as 7.0.0 and exit at startup; use mongo:9.0, or
ubuntu-22.04until 8.0.37 and 8.3.16. - "Unable to locate package linux-modules-extra-7.0.0-1017-azure": Ubuntu publishes no extras package for the 7.0 azure kernel, on the 24.04 and 26.04 images; modules such as
vcanare inlinux-modules, already installed, so skip the install and runmodprobe. - BPF on syscalls:sys_enter_* on GitHub's Ubuntu runners: kernel 7.0.0-1017-azure, on the 24.04 image and on the 26.04 images before the image of November 1 (now 7.0.0-1019-azure), runs these programs on one CPU only, so eBPF tests lose events without an error;
ubuntu-22.04is not affected. - PyCQA/bandit-action on Ubuntu 26.04: the action sets up Python 3.8 (3.9 on v1.0.1) with no input to change it, and setup-python has builds for 26.04 only from 3.10; run Bandit in your own steps.
- wg-quick "Permission denied" on Ubuntu 26.04: new AppArmor profiles let
wg-quickandwgread configuration and key files only under/etc/wireguard/, so awg0.confin the workspace fails even withsudo. - setup-swift on Ubuntu 26.04:
swift-actions/setup-swiftv2 stops with "Version "26.04" of Ubuntu is not supported", and swift.org has 26.04 builds only from Swift 6.4.0; use the image's Swift 6.4.2 or theswiftcontainer. - Docker-in-Docker on Ubuntu 26.04: the legacy iptables modules are not loaded, so a dockerd inside a container that uses
iptables-legacy, such as the dev container docker-in-docker feature:2or:3, fails with "can't initialize iptables table `nat'"; move the feature to:4or load the modules on the runner. - pg_dump 18 on Ubuntu 26.04: PostgreSQL on the image and from apt is 18, so dumps start with
SET transaction_timeout = 0and a PostgreSQL 16 service rejects them with "unrecognized configuration parameter". - "Error: write EINVAL" from every WebdriverIO worker on Ubuntu 26.04: v9 starts workers through
xvfb-run, and the 26.04 one does not pass on the IPC channel; fixed in 9.33.1, which npm'slatesttag does not point to yet. - Postgres never starts in Docker on Ubuntu 26.04: newer kernels such as 7.0.0-42 run container processes as
docker-default//&unconfined, so they cannot signal each other andgosuhangs at 100% CPU; reported on self-hosted runners so far. - "version `GLIBC_2.43' not found" after building on Ubuntu 26.04: glibc is 2.43, so binaries built there can need
GLIBC_2.42orGLIBC_2.43and fail to start on Ubuntu 24.04, Debian 13 and older; build releases on an older image and check the floor in CI. - rpmbuild on Ubuntu 26.04: rpm is 6.0.1, so
%installruns in a per-package build directory and Electron Forge's RPM maker fails with "cp: cannot stat 'usr/*'", and packages are v6 unless you pass_rpmformat 4. - "cannot enable executable stack" on Ubuntu 26.04: glibc 2.43 refuses to
dlopena library that asks for an executable stack, so Julia 1.10.0 to 1.10.8, conda-forge TensorFlow 2.19 and some MEX files fail with "Invalid argument"; clear the flag withpatchelf --clear-execstack. - libpcre3 and libpcre3-dev on Ubuntu 26.04: Ubuntu 26.04 has no PCRE1, so
libpcre3-devis gone from apt and programs built for 24.04 cannot loadlibpcre.so.3; installlibpcre2-devwhere the software supports it. - "disk quota exceeded" in /tmp on Ubuntu 26.04: the first 26.04 images had
/tmpas a tmpfs of about 7.9G with a per-user quota, so large builds in/tmpfailed; setTMPDIRto$RUNNER_TEMP. - setup-beam's "not found in version list" on Ubuntu 26.04: the Erlang/OTP build list for 26.04 starts at OTP 26.0, so OTP 24 and 25 stop at setup, and a setup-beam older than v1.24.1 fails for every OTP.
- C and C++ builds that fail with GCC 15 on Ubuntu 26.04: the default gcc goes from 13 to 15, so C is compiled as C23, six old warnings are errors, and C++ headers no longer pull in
<cstdint>for you. - setup-ruby's "Unavailable version" on Ubuntu 26.04: only some patch releases of each Ruby series are built for 26.04, so a pinned 3.4.2 in
.ruby-versionstops at the Ruby step. - "cannot open shared object file" on Ubuntu 26.04: libxml2 is
libxml2.so.16and ICU is 78, so a cache saved on 24.04, or a binary built for it, cannot findlibxml2.so.2orlibicudata.so.74. - rootless Podman on Ubuntu 26.04: the AppArmor profile of
pastarefuses Podman's SIGTERM, sodocker compose downover the Podman socket fails with "rootless netns: kill network process: permission denied". - kind load docker-image on Ubuntu 26.04: Docker 29's containerd image store keeps one platform of a pulled image, so kind's import fails with "ctr: content digest ... not found".
- Playwright on Ubuntu 26.04: Playwright 1.50 to 1.60 says it "does not support chromium on ubuntu26.04-x64".
- /etc/sysctl.conf on Ubuntu 26.04: inotify limits stay low, so .NET hosts and kind clusters hit "too many open files".
- "coreutils: unknown program": most core tools are uutils.
- apt on Ubuntu 26.04: renamed and removed packages.
See failed jobs from IntelliJ IDEA
Pipeline Inbox for GitHub Actions Workflows, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, lists the runs of all your repositories in an IDE tool window, with their jobs and steps, and your current branch's runs are in the status bar. Reading is free; re-running failed jobs, cancelling, running workflows and reviewing deployments are Pro (US$1.50 a month, with a 30-day trial).
Get it on JetBrains Marketplace
GitHub and GitHub Actions are trademarks of GitHub, Inc.; Ubuntu is a trademark of Canonical Ltd.; Docker is a trademark of Docker, Inc.; Java is a registered trademark of Oracle and/or its affiliates; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with, sponsored or endorsed by GitHub, Inc., Canonical, Docker, Inc., Oracle or JetBrains.
More: "The ubuntu-latest label will migrate to Ubuntu 26" · kind load docker-image on Ubuntu 26.04 · Playwright on Ubuntu 26.04 · GitHub Actions plugins for IntelliJ IDEA compared · 日本語