我在我的windows10家用笔记本电脑上使用docker工具箱。尝试使用我一直在处理的springboot项目创建一个docker镜像。遵循https://spring.io/guides/gs/spring-boot-docker/上的教程
在过去的三天里我一直在与这个错误作斗争
Apr 03, 2019 11:52:57 AM com.spotify.docker.client.shaded.org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://192.168.99.100:2376: Connection reset by peer: socket write error
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.027 s
[INFO] Finished at: 2019-04-03T11:52:57+05:30
[INFO] Final Memory: 63M/433M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.spotify:dockerfile-maven-plugin:1.4.9:build (default-cli) on project IssueTracker: Could not build image: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: 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]我查过的很多网站都说这可能与禁用TLS有关。我试图暴露主机,禁用tls,但问题仍然存在。任何帮助都将不胜感激。
下面是我的maven插件配置
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<version>1.4.9</version>
<configuration>
<repository>${docker.image.prefix}/${project.artifactId}</repository>
</configuration>
</plugin>发布于 2019-04-03 17:32:37
你有没有试过在"Docker Quickstart Terminal“中运行这个maven目标?
https://stackoverflow.com/questions/55488454
复制相似问题