Skip to content

upgrade: testcontainers 2.0.4#844

Open
drahkrub wants to merge 1 commit intovladmihalcea:masterfrom
drahkrub:upgrade_testcontainers
Open

upgrade: testcontainers 2.0.4#844
drahkrub wants to merge 1 commit intovladmihalcea:masterfrom
drahkrub:upgrade_testcontainers

Conversation

@drahkrub
Copy link
Copy Markdown

This PR upgrades testcontainers from 1.17.3 to 2.0.4.

With 1.17.3 I ran into problems with docker version 29.4.0 (running under Ubuntu 24.04.4 LTS):

ERROR [Alice]: o.t.d.DockerClientProviderStrategy - Could not find a valid Docker environment. Please check configuration. Attempted configurations were: ERROR [Alice]: o.t.d.DockerClientProviderStrategy - 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"} )

What helped: Creating a file ~/.docker-java.properties containing api.version=1.44.

But with testcontainers 2.0.4 this file is not needed.

Another suggestion: You should point out that testcontainers.reuse.enable=true can or should be added to ~/.testcontainers.properties, as this will make the tests run more efficiently in terms of resource usage.

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