简体   繁体   English

docker maven插件错误

[英]docker maven plugin error

i am following the tutorial Spring boot with docker 我正在使用docker引导Spring Spring

when i run 当我跑步

mvn clean package docker:build mvn clean package docker:build

i get an error 我得到一个错误

[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.3.7:build (default-cli) on project Project_Name: Exception caught: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: org.apache.http.client.ClientProtocolException: Cannot retry request with a non-repeatable request entity: Broken pipe -> [Help 1] [错误]无法在项目Project_Name上执行目标com.spotify:docker-maven-plugin:0.3.7:build(default-cli):捕获的异常:java.util.concurrent.ExecutionException:com.spotify.docker.client。 shaded.javax.ws.rs.ProcessingException:org.apache.http.client.ClientProtocolException:无法使用不可重复的请求实体重试请求:管道损坏-> [帮助1]

am i missing any docker configurations here? 我在这里缺少任何docker配置吗?

docker build/pull cannot be executed concurrently.In that case, docker client needs to wait till it completes. docker build / pull无法同时执行,在这种情况下,docker client需要等到完成为止。 Check once is there any 检查一次是否有

docker build (or) 
mvn docker:build 

running in the same host. 在同一主机上运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM