Skip to content
Open
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,8 @@
<skip>${skipUT}</skip>
<systemPropertyVariables>
<jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
<!-- temporary fix for https://github.com/testcontainers/testcontainers-java/issues/11491 -->
<api.version>1.44</api.version>
</systemPropertyVariables>
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the testcontainers GitHub issue #11491, the recommended approach to fix this issue is to set the DOCKER_API_VERSION environment variable rather than using a system property. Consider using <environmentVariables> instead of <systemPropertyVariables>:

<environmentVariables>
    <DOCKER_API_VERSION>1.44</DOCKER_API_VERSION>
</environmentVariables>

If the current approach with api.version system property doesn't work, this alternative should resolve the Docker API version compatibility issue.

Suggested change
<!-- temporary fix for https://github.com/testcontainers/testcontainers-java/issues/11491 -->
<api.version>1.44</api.version>
</systemPropertyVariables>
</systemPropertyVariables>
<!-- temporary fix for https://github.com/testcontainers/testcontainers-java/issues/11491 -->
<environmentVariables>
<DOCKER_API_VERSION>1.44</DOCKER_API_VERSION>
</environmentVariables>

Copilot uses AI. Check for mistakes.
<excludes>
<exclude>**/*IT.java</exclude>
Expand Down Expand Up @@ -695,6 +697,10 @@
<version>${maven-failsafe-plugin.version}</version>
<configuration>
<skip>${skipIT}</skip>
<!-- temporary fix for https://github.com/testcontainers/testcontainers-java/issues/11491 -->
<systemPropertyVariables>
<api.version>1.44</api.version>
</systemPropertyVariables>
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the testcontainers GitHub issue #11491, the recommended approach to fix this issue is to set the DOCKER_API_VERSION environment variable rather than using a system property. Consider using <environmentVariables> instead of (or in addition to) <systemPropertyVariables>:

<environmentVariables>
    <DOCKER_API_VERSION>1.44</DOCKER_API_VERSION>
</environmentVariables>

If the current approach with api.version system property doesn't work, this alternative should resolve the Docker API version compatibility issue.

Suggested change
</systemPropertyVariables>
</systemPropertyVariables>
<environmentVariables>
<DOCKER_API_VERSION>1.44</DOCKER_API_VERSION>
</environmentVariables>

Copilot uses AI. Check for mistakes.
</configuration>
<executions>
<execution>
Expand Down