Skip to content

Update testcontainers to 2.0.2 for Docker API 1.44 support#53

Open
mattjohnson wants to merge 1 commit into
testcontainers:mainfrom
mattjohnson:update-testcontainers-2.0.2
Open

Update testcontainers to 2.0.2 for Docker API 1.44 support#53
mattjohnson wants to merge 1 commit into
testcontainers:mainfrom
mattjohnson:update-testcontainers-2.0.2

Conversation

@mattjohnson
Copy link
Copy Markdown

@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
Copy Markdown

MixFr commented Dec 1, 2025

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

@aydinCo
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

JacobF7 commented Dec 19, 2025

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

@ryszard-urbanek
Copy link
Copy Markdown

anyone?

@Kavan72
Copy link
Copy Markdown

Kavan72 commented Jan 23, 2026

hello, anyone ?

@sivaprasadreddy
Copy link
Copy Markdown
Contributor

sivaprasadreddy commented Jan 23, 2026

Hi,
I am the original author of this plugin and to continue the further development on my available time with minimal process-overhead, I forked the repository to https://github.com/sivalabs/testcontainers-jooq-codegen-maven-plugin.

I have updated the plugin to support newer version of JOOQ(3.20.10) and Testcontainers 2.x.

To use this plugin you need to update the groupId to <groupId>dev.sivalabs</groupId>.

Remaining details you can find in the README.

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

8 participants