Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging output during build #6

Closed
webdaford opened this issue May 29, 2014 · 2 comments
Closed

Logging output during build #6

webdaford opened this issue May 29, 2014 · 2 comments

Comments

@webdaford
Copy link

Got the error below when building. I found this: kpelykh/docker-java#38
So it looks like this has been seen before.

Any ideas?
Ubuntu 14.04 64-bit
OpenJDK 7
Maven 3.1.1

[INFO] 1 * Client out-bound request
1 > GET http://127.0.0.1:4243/v1.11/version
1 > Accept: application/json

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.316s
[INFO] Finished at: Thu May 29 15:51:36 EDT 2014
[INFO] Final Memory: 15M/303M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.alexecollins.docker:docker-maven-plugin:1.0.0:package (default-cli) on project hyracks-server: org.apache.http.conn.HttpHostConnectException: Connection to http://127.0.0.1:4243 refused: Connection refused -> [Help 1]
[ERROR]

@alexec
Copy link
Owner

alexec commented May 30, 2014

Hi @webdaford, I'd say you probably don't have Docker's daemon listening on that port. This means you need to start it using '-H -H tcp://127.0.0.1:4243'. If you're running on Ubuntu I think you can edit the upstart config.

More details are here: http://docs.docker.io/use/basics/

@alexec
Copy link
Owner

alexec commented May 30, 2014

Oh - hang on! This has been fixed in the latest SNAPSHOT. Try version... 1.0.0-SNAPSHOT.

@alexec alexec closed this as completed Jun 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants