Skip to content

Commit 827eda4

Browse files
committed
add comments to explain that the dockerContext option relies on docker-java default config
1 parent fb1b7e2 commit 827eda4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎core/src/main/java/org/testcontainers/dockerclient/EnvironmentAndSystemPropertyClientProviderStrategy.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ public EnvironmentAndSystemPropertyClientProviderStrategy() {
5151
applicable = configBuilder.isDockerHostSetExplicitly();
5252
break;
5353
case "dockerContext":
54+
// none of the Testcontainers configuration are relevant when using docker contexts since we rely
55+
// on the docker-java default to have all the necessary configuration already set.
5456
applicable = true;
5557
break;
5658
default:

0 commit comments

Comments
 (0)