-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Closed
Copy link
Description
Feature Request
For English only, other languages will not be accepted.
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot make decision by current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Is your feature request related to a problem?
Describe the feature you would like.
- I personally believe it's necessary to support native tests running the master branch on either Docker Engine v28 or Docker Engine v29. Currently, in the GitHub Actions CI files, the Ubuntu Runner uses Docker Engine v27, and the Windows Server Runner uses Rancher Desktop, which bundles Docker Engine v28.
- Because the master branch is using
org.testcontainers:testcontainers-bom:2.0.1, executing./mvnw -PgenerateMetadata -e -T 1C clean verifyvia Docker Engine v29 will not find the Docker environment, which is affected by [Bug]: Docker 29.0.0 could not find a valid Docker environment testcontainers/testcontainers-java#11212 . On the other hand, the updated versionorg.testcontainers:testcontainers-bom:2.0.3only supports Docker Engine v29 and later, which conflicts with the default configuration of Rancher Desktop. See [Bug]: Can't overwrite Docker socket path with 2.0.2 / Podman stopped working testcontainers/testcontainers-java#11254 . - If we don't wait for [Windows/Ubuntu] Docker Server and Client will be updated to version 29.1.*, Docker Compose will be updated to version 2.40.3 on February 9th, 2026 actions/runner-images#13474 to close, we need to perform an operation similar to
sudo tee /etc/docker/daemon.jsonon all CIs involving test containers. We cannot remain at"min-api-version": "1.24"forever, as the related compatibility code will soon be removed by Docker Engine. See daemon: raise default minimum API version to v1.44 moby/moby#51186 . - Therefore, the current direction for resolving this issue seems to be as follows:
- The documentation should be updated to require developers using Docker Engine v29 to perform the following actions:
sudo tee /etc/docker/daemon.json <<EOF
{
"log-driver": "local",
"min-api-version": "1.24"
}
EOF
sudo systemctl restart docker.service- After [Windows/Ubuntu] Docker Server and Client will be updated to version 29.1.*, Docker Compose will be updated to version 2.40.3 on February 9th, 2026 actions/runner-images#13474 is closed, bump the testcontainers version to
2.0.3. - After [Windows/Ubuntu] Docker Server and Client will be updated to version 29.1.*, Docker Compose will be updated to version 2.40.3 on February 9th, 2026 actions/runner-images#13474 is closed, update the documentation to require developers on Windows 11 to update the
/etc/docker/daemon.jsonconfiguration for Rancher Desktop to usemin-api-version.
Reactions are currently unavailable