Technical questionAccepted answer
Sudden Docker error about "client API version"
Stewart
Nov 11
0 views1
I've been successfully using TestContainers with Docker for quite a while now. All of a sudden today, I started getting this error:
UnixSocketClientProviderStrategy: failed with exception BadRequestException (Status 400:
{"message":"client version 1.32 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version"}
What could explain such a sudden breakage?
1 answer
Accepted answer · original discussion
Jesse Glick
PermalinkNov 11
There is an issue raised with Testcontainers about this.
If you can run Testcontainers 2.x, update to 2.0.2 or later. If not, update to 1.21.4.
If you cannot update at all for now, the following hotfix can be used as a workaround:
echo api.version=1.44 >> ~/.docker-java.properties
3 question comments
Use comments to ask for clarification. Post a solution as an answer.
Mark RotteveelPermalink
Nov 17
To reviewers: testcontainers is a library for developing unit/integration-tests, and its use is definitely programming related.