Skip to content

Fix the compatibility of compose test containers with the Docker engine#1811

Merged
mvolikas merged 1 commit intoapache:mainfrom
mvolikas:fix/compose-container-engine-compatibility
Feb 22, 2026
Merged

Fix the compatibility of compose test containers with the Docker engine#1811
mvolikas merged 1 commit intoapache:mainfrom
mvolikas:fix/compose-container-engine-compatibility

Conversation

@mvolikas
Copy link
Contributor

Some GitHub runners were recently updated to use a newer version of Docker engine.
This made the testcontainers compose tests fail, because testcontainers creates a separate helper container for compose by default. The default image is docker:24.0.2, which in turn uses an older API version, thus getting the following exception:

Error response from daemon: client version 1.43 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version

The current fix, makes testcontainers use the local Docker Compose binary (the runner's) instead of a container.
An alternative would be to pin to a newer image version, but this would require updating the testcontainers dependency version.

@mvolikas mvolikas self-assigned this Feb 22, 2026
@mvolikas mvolikas merged commit 96f3fb7 into apache:main Feb 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants