windows 下docker整合springboot
这个选项要选中不然会报错无法使用
Failed to execute goal com.spotify:docker-maven-plugin:0.2.9:build (default-cli) on project config: 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;
选中就好了
然后就可以
执行之后
然后在docker里面生成镜像
然后执行
这样就好了