We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7b42a5c + df7294a commit 4b8ccc2Copy full SHA for 4b8ccc2
src/main/java/com/github/dockerjava/core/DockerClientBuilder.java
@@ -48,6 +48,12 @@ public DockerClientBuilder withDockerCmdExecFactory(
48
this.dockerCmdExecFactory = dockerCmdExecFactory;
49
return this;
50
}
51
+
52
+ public DockerClientBuilder withServiceLoaderClassPath(ClassPath classPath)
53
+ {
54
+ serviceLoader = ServiceLoader.load(DockerCmdExecFactory.class, classPath);
55
+ return this;
56
+ }
57
58
public DockerClient build() {
59
if(dockerCmdExecFactory != null) {
0 commit comments