Docker-Maven 插件的坑

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

解决方案

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

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

你可能感兴趣的:(CI/CD-OpsDev)