use of com.github.dockerjava.core.DockerClientConfig in project spring-boot by spring-projects.
the class SysVinitLaunchScriptIT method createClient.
private DockerClient createClient() {
DockerClientConfig config = DockerClientConfig.createDefaultConfigBuilder().withVersion("1.19").build();
DockerClient docker = DockerClientBuilder.getInstance(config).withDockerCmdExecFactory(this.commandExecFactory).build();
return docker;
}
Aggregations