Comments (12)
" DOCKER_HOST=unix:///var/run/docker.sock mvn clean install " can solved docker connect problem
from spring-cloud-microservice-example.
The relevant part:
Connect to localhost:2375 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused -> [Help 1]
Check that docker is installed properly locally.
from spring-cloud-microservice-example.
[INFO] spring-cloud-microservice-example-parent ........... SUCCESS [ 0.400 s]
[INFO] users-microservice ................................. FAILURE [ 8.599 s]
[INFO] discovery-microservice ............................. SKIPPED
[INFO] api-gateway-microservice ........................... SKIPPED
[INFO] recommendation-microservice ........................ SKIPPED
[INFO] config-microservice ................................ SKIPPED
[INFO] hystrix-dashboard .................................. SKIPPED
[INFO] consul-microservice ................................ SKIPPED
[INFO] movie-microservice ................................. SKIPPED
[INFO] movies-ui .......................................... SKIPPED
[INFO] -----------------------------------------------------------------------
eeeee
from spring-cloud-microservice-example.
works for me. (see below)
I guess you really need to track down what is blocking your docker daemon on port 2375.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] spring-cloud-microservice-example-parent ........... SUCCESS [ 0.590 s]
[INFO] users-microservice ................................. SUCCESS [01:38 min]
[INFO] discovery-microservice ............................. SUCCESS [ 10.106 s]
[INFO] api-gateway-microservice ........................... SUCCESS [ 9.484 s]
[INFO] recommendation-microservice ........................ SUCCESS [ 13.512 s]
[INFO] config-microservice ................................ SUCCESS [ 16.555 s]
[INFO] hystrix-dashboard .................................. SUCCESS [ 8.300 s]
[INFO] consul-microservice ................................ SUCCESS [ 9.838 s]
[INFO] movie-microservice ................................. SUCCESS [ 13.564 s]
[INFO] movies-ui .......................................... SUCCESS [ 49.120 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:10 min
[INFO] Finished at: 2016-07-09T08:58:21+02:00
[INFO] Final Memory: 86M/675M
[INFO] ------------------------------------------------------------------------
from spring-cloud-microservice-example.
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.3.258:build (default) on project users-microservice: Exception caught: Tag 8 not found in repository docker.io/library/java -> [Help 1]
from spring-cloud-microservice-example.
@indie21 You should be able to do a `docker pull java:8 on your command line. If this won't work, fix your docker setup.
from spring-cloud-microservice-example.
[INFO]
[INFO] spring-cloud-microservice-example-parent ........... SUCCESS [ 0.523 s]
[INFO] users-microservice ................................. SUCCESS [ 17.703 s]
[INFO] discovery-microservice ............................. SUCCESS [ 6.769 s]
[INFO] api-gateway-microservice ........................... SUCCESS [ 5.523 s]
[INFO] recommendation-microservice ........................ SUCCESS [ 10.713 s]
[INFO] config-microservice ................................ SUCCESS [ 7.072 s]
[INFO] hystrix-dashboard .................................. SUCCESS [ 4.855 s]
[INFO] consul-microservice ................................ SUCCESS [10:23 min]
[INFO] movie-microservice ................................. SUCCESS [ 11.012 s]
[INFO] movies-ui .......................................... SUCCESS [13:36 min]
[INFO] ------------------------------------------------------------------------
success finally , blame to the great fire wall of china
from spring-cloud-microservice-example.
I also have the same problem,I fix it just use ”sudo usermod -aG docker myusername" .
from spring-cloud-microservice-example.
@indie21 worked for me, thanks a lot
from spring-cloud-microservice-example.
@indie21 cheers
from spring-cloud-microservice-example.
This issue happens due to a bug in the docker-maven-plugin from Spotify. Issue linked here - spotify/docker-maven-plugin issue 218.
I had the same issue when running mvn clean install locally in a Mac with Docker for Mac (not the old Docker that required a VM) and solved by updating the docker.plugin.version
to 0.4.13
.
I can create a merge request if you want. :)
from spring-cloud-microservice-example.
I am also getting this error. I checked my docker is installed properly. I am able to run docker commands like docker run myimage
. I google search the issue and some says I need to setup the environment variable DOCKER_HOSTS. How to verify it's not setup and if not how to set it up? I am running Docker for Windows
from spring-cloud-microservice-example.
Related Issues (20)
- how does Configuration Service signal a refresh to Discovery Service signal a refresh
- can i use maven 3.5 on linux
- after start up...a few of the services are in Exit 137 state and im getting 404 for the configserver
- What tools to draw the micro-service design? HOT 1
- mvn clean install failure
- demo usage
- Cannot execute request on any known server
- What's the right sequence to start projects?
- Can't Access Docker Repos HOT 1
- docker-compose up some error
- Connection to http://localhost:8500 refused HOT 1
- Since there is a parent, it is also a import, why
- Could you please update project to use Spring Boot version 2.0.4.RELEASE ?
- http://localhost:9006/ error
- I am able to run this whole code on windows? But how to access URL and what to execute ?
- Connection Refused
- Want to compile the code. HOT 1
- Unable to build project. Some processing while processing the POMs
- Are these images available in docker hub?
- Could you please update code to use latest dependencies? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-cloud-microservice-example.