Home > other >  Com on Maven plugins. Services/docker - Maven - the plugin has been unable to visit ali cloud servic
Com on Maven plugins. Services/docker - Maven - the plugin has been unable to visit ali cloud servic

Time:11-25




I use maven plug-in com. The company/docker - maven - push the mirror in the register of the plugin to ali cloud, but still can not connect to ali cloud, plug-in access address is always

[ERROR] Failed to execute goal com. Services: docker -- maven plugin: 1.0.0: build (default - cli) on the project the helloworld: Exception caught: Timeout: GET http://192.168.99.100:2376/version: com. 8. The docker. Client. The shaded. Javax.mail. Ws. Rs. ProcessingException: org. Apache. HTTP. Conn. ConnectTimeoutException: Connect to 192 168.99.100:2376 [/192.168.99.100] Failed: Connect timed out - & gt; [1] Help

But I configure maven service (whether maven path settiong. XML, or the conf/setting. The XML or user folder. M2/setting. The XML)


Docker - aliyun
XXXX
XXXXX

XXXXXX



Pom file is as follows:
<? The XML version="1.0" encoding="utf-8"?>
Xsi: schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" & gt;
4.0.0 & lt;/modelVersion>

Org. Springframework. Boot
Spring - the boot - starter - parent
2.1.1. RELEASE

Zzu. Zwl
Helloworld
0.0.1 - SNAPSHOT
Jar
Helloworld

Docker Spring Boot helloworld


Utf-8 & lt;/project. Build. SourceEncoding>
Utf-8 & lt;/project. Reporting. OutputEncoding>
1.8 & lt;/Java. Version>
Registry.cn-beijing.aliyuncs.com & lt;/docker. Repostory>
Zwl






Org. Springframework. Boot
Spring - the boot - starter - web



Org. Springframework. Boot
Spring - the boot - starter - test
Test






Org. Springframework. Boot
Spring - the boot - maven - plugin


Com. Spotify
The docker - maven - plugin
1.0.0 & lt;/version>


Docker - aliyun
The ${docker. Repostory} & lt;/registryUrl>
True

The ${project. ArtifactId} & lt;/imageName>
The ${project. The basedir}/SRC/main

The ${project. Version} & lt;/imageTag>



/
The ${project. Build. Directory} & lt;/directory>
The ${project. Build. FinalName}. Jar












MVN - e docker: build the whole stack of information:
[ERROR] Failed to execute goal com. Services: docker -- maven plugin: 1.0.0: build (default - cli) on the project the helloworld: Exception caught: Timeout: GET http://192.168.99.100:2376/version: com. 8. The docker. Client. The shaded. Javax.mail. Ws. Rs. ProcessingException: org. Apache. HTTP. Conn. ConnectTimeoutException: Connect to 192
168.99.100:2376 [/192.168.99.100] failed: connect timed out - & gt; [1] Help
Org, apache maven. Lifecycle. LifecycleExecutionException: Failed to execute goal com. Generally docker maven - plugin: 1.0.0: build (default - cli) on the project the helloworld: Exception caught
At org, apache maven. Lifecycle. Internal. MojoExecutor. Execute (MojoExecutor. Java: 212)
At org, apache maven. Lifecycle. Internal. MojoExecutor. Execute (MojoExecutor. Java: 153)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related