Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7138

Docker Client api

$
0
0

javax.ws.rs.core.Response$Status$Family javax.ws.rs.core.Response$Status$Family.familyOf(int)

I am geting above exception while reading log of docker container using below config

@Beanpublic DockerClient dockerClient() {    DockerClientConfig config = DockerClientConfig.createDefaultConfigBuilder()        .withDockerHost("unix:///var/run/docker.sock")        .build();    return DockerClientBuilder.getInstance(config).build();}

pom.xml

<dependencies><!-- Spring Boot Starter Web --><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId></dependency><!-- Spring Boot Starter WebFlux --><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-webflux</artifactId></dependency><!-- Docker Java Library --><dependency><groupId>com.github.docker-java</groupId><artifactId>docker-java</artifactId><version>3.2.12</version></dependency></dependencies>

Why is the above things not working?

I tried all permutations that are possible around it, used multiple AI tools to debug, but not getting.


Viewing all articles
Browse latest Browse all 7138

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>