異常報錯:
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (default-cli) on project orangeCharging: Exception caught: java.util.concurrent.ExecutionExceptio
n: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: org.apache.http.client.ClientProtocolException: Cannot retry request with a non-repeatable request enti
ty: Connection reset by peer: socket write error -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (default-cli) on project orangeCharging: Exceptio
n caught
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
解決方法
改成
構(gòu)建鏡像時是使用的是這個變量作為鏡像名稱枫绅,即構(gòu)建的時候不要出現(xiàn)大寫的鏡像名稱