-
Notifications
You must be signed in to change notification settings - Fork 573
mvn docker:build fails with "{}->unix://localhost:80: Connection reset by peer #221
Comments
Sounds like the docker daemon is closing the connection. See this part of the README, the docker daemon log might have more useful info. |
@mattnworb No... the problem is that the latest plugin is not taking the proper Docker settings. According to #183, the plugin is not taking the settings for the The solution to go through this is:
Just make sure Docker's Daemon is setup to start on port 2375. Note that's documented to be insecure. https://docs.docker.com/v1.8/articles/basics/#bind-docker-to-another-host-port-or-a-unix-socket
to
With those, I reached the point that it breaks just like #183, which is the intended way. |
Closed this to continue with the #183. |
I am using Maven 3.5.4, Spring Boot 2.1.0 and Docker Maven Plugin 1.4.9 and still bump into the same errors! |
In my case the |
As per @dimmel82
I was using
but forgot
so a spurious |
If you are running docker desktop or any other docker virtualisation tool make sure that its up and running |
Hey Folks , I had the same issue ,solved following : StackOverflow : Docker mvn plugin make {}->unix://localhost:80: Broken pipe Thanks . |
Description
docker
with and withoutsudo
.How to reproduce
What do you expect
Docker image is built from Maven.
What happened instead
Software:
Full backtrace
The text was updated successfully, but these errors were encountered: