Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
songlin1994 opened this issue Apr 24, 2024 · 1 comment

Comments

@songlin1994
Copy link

songlin1994 commented Apr 24, 2024

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 songlin1994 changed the title gradle8.7,Jdk21,SpringBoot, gradle8.7,Jdk21,SpringBoot3.2.5,plugin 9.4.0 can't establish a connection with Docker. Apr 24, 2024
@bmuschko
Copy link
Owner

Seems like your Docker daemon runs on a different machine? Have you tried connecting via HTTPS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants