Broken Pipe Error when using Docker for Mac #95
Comments
Ok, so this was bugging me too much that I decided to debug this maven plugin. I discovered that the docker-client API appears to wrap an exception that makes this The project above used the maven project name in camel case (as defined in For more information (and duplication of this issue), please check this sample project: |
If I want to do a pull request to fix this, do I need to do anything special? |
Please feel free to open a PR! |
OP changed the case of his artifact to all-lower-case instead: https://github.com/albertoaflores/logback-boot-example/commit/665b02fc03eb3fbd6bd75102f8ed665f61e491a7 |
Perhaps change title to "Clear error on upper-case Dockerhub repo name and/or Maven artifact name needed" |
Had the same issue. I was using |
I've stopped using this plugin now. I'm doing it the old fashioned way - separate Dockerfile (hand maintained). Reason: I want to publish to fat-jars to oss.sonatype.org and to docker-hub on different cadences. |
Yeah just encountered this. Spent an 2 hours trying to figure it out and it really only had to do with the name of the image! |
Same problem on windows:
Using for the image-name only lower case letters has resolved the error here as well. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
solved this by not using SSH connector for $DOCKER_HOST but using a TCP connector. followed this guide: https://dockerlabs.collabnix.com/beginners/components/daemon/access-daemon-externally.html |
Have been trying to use the dockerfile-maven-plugin with the following configuration:
And I keep on getting the following error:
Here is my
docker info
Also, tried to set the
DOCKER_HOST
variable tounix:///var/run/docker.sock
and it didn't work. I can build docker images (without problems) manually.As an FYI, my project can be found here (see dockerify-project branch):
https://github.com/albertoaflores/logback-boot-example
to duplicate this error, you can run
mvn clean install
.The text was updated successfully, but these errors were encountered: