I would like to have the maven plugin to be able to do it’s job. It might be a problem with the plugin implementation, (and I have filed a bug). I think some tools depends on DOCKER_HOST to be set
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.4.5:build (server) on project web-service: 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, localhost/fe80:0:0:0:0:0:0:1%1] failed: Connection refused -> [Help 1]
Could it be that port 2375 needs to be forwarded to localhost?
OS X: version 10.11.4 (build: 15E65)
Docker.app: version v1.11.0-beta6
Running diagnostic tests:
[OK] Moby booted
Docker logs are being collected into /tmp/20160414-075248.tar.gz.
Your unique id in bugsnag is: 057F3766-D887-471F-A57F-8D352F2B2857
Please quote this in all correspondence.
Steps to reproduce the behavior
- Build a project with maven using the Spotify Docker plugin
Maven version 3.2.3
Plugin version 0.4.5