Docker-Maven 插件的坑

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/SIMBA1949/article/details/83061909

Docker-Maven 插件的坑

[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:1.2.0:build (default-cli) on project PushProject2Docker: Exception caught: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.Proc
essingException: com.spotify.docker.client.shaded.org.apache.http.client.ClientProtocolException: Cannot retry request with a non-repeatable request entity: Connection reset by peer: socket write error -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

解决方案

<imageName>push.project.2docker</imageName>
imageName 标签内必须严格遵循:[a-z0-9-_.],也就是说只能出现 a~z 小写字母,0~9,下划线"_" 和 点"."

原网址:https://www.itread01.com/content/1535265633.html

阅读更多
换一批

没有更多推荐了,返回首页