gradle-docker-plugin icon indicating copy to clipboard operation
gradle-docker-plugin copied to clipboard

gradle8.7,Jdk21,SpringBoot3.2.5,plugin 9.4.0 can't establish a connection with Docker.

Open songlin1994 opened this issue 10 months ago • 1 comments

The same Docker address. The configuration of the old project can be pushed normally, but the new version cannot be used. image

error log

Task :dockerBuildImage
Error during callback java.lang.RuntimeException: java.net.SocketException: Broken pipe at com.github.dockerjava.httpclient5.ApacheDockerHttpClientImpl.execute(ApacheDockerHttpClientImpl.java:195) at com.github.dockerjava.httpclient5.ApacheDockerHttpClient.execute(ApacheDockerHttpClient.java:9) at com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:228) at com.github.dockerjava.core.DefaultInvocationBuilder.lambda$executeAndStream$1(DefaultInvocationBuilder.java:269) at java.base/java.lang.Thread.run(Thread.java:1583) Caused by: java.net.SocketException: Broken pipe at java.base/sun.nio.ch.SocketDispatcher.write0(Native Method) Caused by: java.net.SocketException: Broken pipe

at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62)
at java.base/sun.nio.ch.NioSocketImpl.tryWrite(NioSocketImpl.java:394)
at java.base/sun.nio.ch.NioSocketImpl.implWrite(NioSocketImpl.java:413)
at java.base/sun.nio.ch.NioSocketImpl.write(NioSocketImpl.java:440)
at java.base/sun.nio.ch.NioSocketImpl$2.write(NioSocketImpl.java:819)
at java.base/java.net.Socket$SocketOutputStream.write(Socket.java:1195)

songlin1994 avatar Apr 24 '24 07:04 songlin1994