Closed wirechen closed 6 years ago
@wirechen 你有出现打包失败的问题吗?为什么我打包一次过啊。。。你能把你出错的日志贴出来嘛~
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.4.3:build (default-cli) on project quick-docker: Exception caught: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused) -> [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
升级到0.4.13版本就不会报这种错了
@wirechen ok! 非常感谢~
应该感谢你才是!分享这么多实用的东西给大家~辛苦了~
mvn package docker:build
打包失败,解决方法:
docker-maven-plugin 从0.4.3更新到0.4.13