Skip to content

fix: add Docker Engine 29 workaround for Testcontainers#241

Closed
JesperTerkelsen wants to merge 1 commit intomainfrom
fix/docker-engine-29-testcontainers-workaround
Closed

fix: add Docker Engine 29 workaround for Testcontainers#241
JesperTerkelsen wants to merge 1 commit intomainfrom
fix/docker-engine-29-testcontainers-workaround

Conversation

@JesperTerkelsen
Copy link
Member

Summary

Fix Testcontainers test failures caused by GitHub's Docker Engine 29 upgrade.

GitHub recently upgraded runners to Docker Engine 29.1, which requires Docker API version 1.44+. Testcontainers 1.x defaults to API version 1.32, causing DockerClientProviderStrategy IllegalStateException on all test runs.

Changes

  • sonar-cloud.yml: Add docker-java.properties workaround before test step
  • code-coverage-kotlin.yml: Add docker-java.properties workaround before test step
  • component-test-kotlin.yml: Add docker-java.properties workaround before test step

Impact

All repos using these shared workflows with Testcontainers are currently broken (or will break on next CI run). This is a temporary workaround — the proper fix is for each repo to upgrade to Testcontainers 2.0.3+.

Ref

🤖 Generated with Claude Code

GitHub recently upgraded runners to Docker Engine 29.1 which requires
API version 1.44+. Testcontainers 1.x defaults to API version 1.32,
causing DockerClientProviderStrategy IllegalStateException on all test
runs that use Testcontainers.

Add docker-java.properties workaround to all shared workflows that run
Gradle tests: sonar-cloud, code-coverage-kotlin, component-test-kotlin.

Ref: testcontainers/testcontainers-java#11491

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@JesperTerkelsen
Copy link
Member Author

Not really a good solution

@BrianEstrada BrianEstrada deleted the fix/docker-engine-29-testcontainers-workaround branch February 23, 2026 20:44
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.

1 participant