GH-684: updated java docker library to fix issue with jna not working correctly on Apple Silicon
This commit is contained in:
@@ -22,12 +22,12 @@
|
||||
<dependency>
|
||||
<groupId>com.github.docker-java</groupId>
|
||||
<artifactId>docker-java-core</artifactId>
|
||||
<version>3.2.6-SNAPSHOT</version>
|
||||
<version>3.2.12</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.docker-java</groupId>
|
||||
<artifactId>docker-java-transport-zerodep</artifactId>
|
||||
<version>3.2.6-SNAPSHOT</version>
|
||||
<version>3.2.12</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
|
||||
@@ -7,7 +7,7 @@ import com.github.dockerjava.api.model.Image;
|
||||
import com.github.dockerjava.core.DefaultDockerClientConfig;
|
||||
import com.github.dockerjava.core.DockerClientImpl;
|
||||
import com.github.dockerjava.transport.DockerHttpClient;
|
||||
import com.github.dockerjava.zerodep.ConnectionPoolConfig;
|
||||
//import com.github.dockerjava.zerodep.ConnectionPoolConfig;
|
||||
import com.github.dockerjava.zerodep.ZerodepDockerHttpClient;
|
||||
|
||||
public class DockerClientWrapperApplication {
|
||||
@@ -28,11 +28,11 @@ public class DockerClientWrapperApplication {
|
||||
System.out.println(image.getId());
|
||||
}
|
||||
|
||||
if (httpClient instanceof ConnectionPoolConfig) {
|
||||
ConnectionPoolConfig cp = (ConnectionPoolConfig) httpClient;
|
||||
System.out.println("max = " +cp.getPoolSizeMax());
|
||||
System.out.println("max per route = "+cp.getPoolSizeDefaultMaxPerRoute());
|
||||
}
|
||||
// if (httpClient instanceof ConnectionPoolConfig) {
|
||||
// ConnectionPoolConfig cp = (ConnectionPoolConfig) httpClient;
|
||||
// System.out.println("max = " +cp.getPoolSizeMax());
|
||||
// System.out.println("max per route = "+cp.getPoolSizeDefaultMaxPerRoute());
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user