Skip to content

Conversation

@mattjohnson
Copy link

@mattjohnson mattjohnson commented Nov 17, 2025

Updates testcontainers from 1.19.1 to 2.0.2 to support Docker Engine 29.0.0 which requires Docker API 1.44 as the minimum supported version.

Changes:

  • Update testcontainers from 1.19.1 to 2.0.2
  • Update module names for testcontainers 2.x compatibility
    • jdbc → testcontainers-jdbc
    • postgresql → testcontainers-postgresql
    • mysql → testcontainers-mysql
    • mariadb → testcontainers-mariadb
  • Add dependency management for commons-io 2.18.0 and commons-lang3 3.17.0 to resolve transitive dependency conflicts
  • Update spotless-maven-plugin from 2.36.0 to 2.44.5
  • Update palantirJavaFormat from 2.30.0 to 2.68.0
  • Update lombok from 1.18.26 to 1.18.38
  • Remove @Delegate annotation from ContainerTargetDatasource and manually implement required methods to avoid using internal testcontainers APIs that are now package-private

Testcontainers 2.0.2 uses docker-java 3.7.0 which defaults to Docker API 1.44.

Fixes #52

Updates testcontainers from 1.19.1 to 2.0.2 to support Docker Engine 29.0.0
which requires Docker API 1.44 as the minimum supported version.

Changes:
- Update testcontainers from 1.19.1 to 2.0.2
- Update module names for testcontainers 2.x compatibility
  - jdbc → testcontainers-jdbc
  - postgresql → testcontainers-postgresql
  - mysql → testcontainers-mysql
  - mariadb → testcontainers-mariadb
- Add dependency management for commons-io 2.18.0 and commons-lang3 3.17.0
  to resolve transitive dependency conflicts
- Update spotless-maven-plugin from 2.36.0 to 2.44.5
- Update palantirJavaFormat from 2.30.0 to 2.68.0
- Update lombok from 1.18.26 to 1.18.38
- Remove @DeleGate annotation from ContainerTargetDatasource and manually
  implement required methods to avoid using internal testcontainers APIs
  that are now package-private

Testcontainers 2.0.2 uses docker-java 3.7.0 which defaults to Docker API 1.44.

Fixes testcontainers#52
@MixFr
Copy link

MixFr commented Dec 1, 2025

Is there any chance that this PR will be approved in the near future?

@aydinCo
Copy link

aydinCo commented Dec 1, 2025

Any news on this guys?

For anyone that needs a temporary workaround. You can add a field to your docker daemon config json "min-api-version": "1.32"
If you are running docker desktop, go into settings -> docker engine and add the above to the json

@slgobinath
Copy link

slgobinath commented Dec 10, 2025

Given this repo is not updated for over a year, I've forked it an released a new version to GitHub Packages at https://github.com/slgobinath/testcontainers-jooq-codegen-maven-plugin

Thank you @mattjohnson for the fix.

@JacobF7
Copy link

JacobF7 commented Dec 19, 2025

@sivaprasadreddy @eddumelendez @romchellis Can this PR be reviewed and a new release taken?

@ryszard-urbanek
Copy link

anyone?

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.

Update testcontainers dependency

6 participants