[INFO] Scanning for projects...
 [INFO]                                                                         
 [INFO] ------------------------------------------------------------------------
 [INFO] Building discovery 0.0.1-SNAPSHOT
 [INFO] ------------------------------------------------------------------------
 [INFO] 
 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ discovery ---
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 1 resource
 [INFO] Copying 1 resource
 [INFO] 
 [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ discovery ---
 [INFO] Changes detected - recompiling the module!
 [INFO] Compiling 1 source file to /Users/lee/lee/java-project/platfrom/discovery/target/classes
 [INFO] 
 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ discovery ---
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] skip non existing resourceDirectory /Users/lee/lee/java-project/platfrom/discovery/src/test/resources
 [INFO] 
 [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ discovery ---
 [INFO] No sources to compile
 [INFO] 
 [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ discovery ---
 [INFO] No tests to run.
 [INFO] 
 [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ discovery ---
 [INFO] Building jar: /Users/lee/lee/java-project/platfrom/discovery/target/discovery-0.0.1-SNAPSHOT.jar
 [INFO] 
 [INFO] --- spring-boot-maven-plugin:1.4.5.RELEASE:repackage (default) @ discovery ---
 [INFO] 
 [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ discovery ---
 [INFO] Installing /Users/lee/lee/java-project/platfrom/discovery/target/discovery-0.0.1-SNAPSHOT.jar to /Users/lee/.m2/repository/com/discovery/0.0.1-SNAPSHOT/discovery-0.0.1-SNAPSHOT.jar
 [INFO] Installing /Users/lee/lee/java-project/platfrom/discovery/pom.xml to /Users/lee/.m2/repository/com/discovery/0.0.1-SNAPSHOT/discovery-0.0.1-SNAPSHOT.pom
 [INFO] 
 [INFO] --- docker-maven-plugin:1.0.0:build (build-image) @ discovery ---
 [INFO] Using authentication suppliers: [ConfigFileRegistryAuthSupplier]
 [INFO] Copying /Users/lee/lee/java-project/platfrom/discovery/target/discovery-0.0.1-SNAPSHOT.jar -> /Users/lee/lee/java-project/platfrom/discovery/target/docker/discovery-0.0.1-SNAPSHOT.jar
 [INFO] Building image 47.106.187.140:5000/jacky/discovery:0.0.1-SNAPSHOT
 Jun 10, 2018 10:59:27 AM org.apache.http.impl.execchain.RetryExec execute
 信息: I/O exception (java.net.SocketException) caught when processing request to {}->http://47.106.187.140:5678: Connection reset
 Jun 10, 2018 10:59:27 AM org.apache.http.impl.execchain.RetryExec execute
 信息: Retrying request to {}->http://47.106.187.140:5678
 Jun 10, 2018 11:00:42 AM org.apache.http.impl.execchain.RetryExec execute
 信息: I/O exception (java.net.SocketException) caught when processing request to {}->http://47.106.187.140:5678: Connection reset
 Jun 10, 2018 11:00:42 AM org.apache.http.impl.execchain.RetryExec execute
 信息: Retrying request to {}->http://47.106.187.140:5678
 Jun 10, 2018 11:01:57 AM org.apache.http.impl.execchain.RetryExec execute
 信息: I/O exception (java.net.SocketException) caught when processing request to {}->http://47.106.187.140:5678: Connection reset
 Jun 10, 2018 11:01:58 AM org.apache.http.impl.execchain.RetryExec execute
 信息: Retrying request to {}->http://47.106.187.140:5678
 [INFO] ------------------------------------------------------------------------
 [INFO] BUILD FAILURE
 [INFO] ------------------------------------------------------------------------
 [INFO] Total time: 05:09 min
 [INFO] Finished at: 2018-06-10T11:03:13+08:00
 [INFO] Final Memory: 49M/400M
 [INFO] ------------------------------------------------------------------------
 [ERROR] Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (build-image) on project discovery: Exception caught: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: java.net.SocketException: Connection reset -> [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
Process finished with exit code 1
总是报这样的错 怎么解决啊 有大神好心指点一下吗
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
                    <p>http://47.106.187.140:5678  这是什么??</p>
                
                    <div class='ref'><h4>引用来自“yysf”的评论</h4><p>http://47.106.187.140:5678  这是什么??</p>
                    <ol>
<li>都写的很明显了,docker远程没打卡,要么就是没配置好,连接不上远程docker</li>
  
                    <div class='ref'><h4>引用来自“红薯的小黄瓜”的评论</h4><ol>
<li>都写的很明显了,docker远程没打卡,要么就是没配置好,连接不上远程docker</li>