Docker-maven-plugin Build Mirror Error: failed: Connection refused: connect
[ERROR] Failed to execute goal com.spotify:dockerfile-maven-plugin:1.4.7:build (default) on project security-api: Could not build image: java.util.concurrent.ExecutionException: com.spotify.docker.client.sha ded.javax.ws.rs.ProcessingException: com.spotify.docker.client.shaded.org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connect ion refused: connect -> [Help 1]
Solution:
- Go to docker settings (Second mouse click on docker icon, click settings)
- Click on checkbox ‘Expose daemon on tcp://localhost:2375 without TLS’
- Apply & Restart
- Run again: mvn clean install
Read More:
- [Solved] Error response from daemon: driver failed programming external connectivity on endpoint mymysql
- [Solved] Unable to connect to a as user root com.jcraft.jsch.JSchException: Auth failUnable to connect
- How to Solve Error: No suitable driver found for
- [Solved] nvidia-docker runtime Error: (Unknown runtime specified nvidia)
- [Solved] Zookeeper cluster error: Error contacting service It is probably not running. (alicloud server)
- [Solved] Docker Start Error: Error response from daemon: oci runtime error: container with id exists: 7f4336393ab
- How to Solve Docker Portainer Connect Error
- [Solved] Centos7 Install docker Error: iptables v1.4.21: Couldn‘t load target `DOCKER-ISOLATION‘
- [Solved] org.apache.flink.client.program.ProgramInvocationException: The main method caused an error
- [Solved] Sqoop Error: ERROR tool.ImportTool: Import failed: java.io.IOException
- [Solved] Rocketmq installation error: org.apache.rocketmq.remoting.exception.remotingconnectexception: connect to failed
- [Solved] Docker Startup Error: OCI runtime create failed container_linux.go380 starting container process
- [Solved] IDEA2020 Error: Cannot resolve symbol ‘Servlet‘
- Maven plugin development report error- plugin:3.2 :descriptor fai
- java.lang.IllegalArgumentException: adding a window to a container
- How to Upload Docker Image to docker hub
- Tomcat cross server upload error 403forbidden [How to Solve]
- [Solved] ZK Connect Error: A JNI error has occurred, please check your installation and try again
- [Solved] Redis Client On Error Error connect ECONNREFUSED 11.20.200.6379 Config right
- [Solved] Error:(3, 46) java: Program Package org.springframework.context.annotation does not exist