question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

goal io.fabric8:fabric8 -maven-plugin:3.1.69:build failed: No <dockerHost> given, no DOCKER_HOST environment variable, no read/writable '/var/run/docker.sock' or '//./pipe/docker_engin e' and no external provider like Docker machine configured

See original GitHub issue

the following is on windows with minikube installed:

[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1.69:build (default) on project war-camel-servlet: Execution default of goal io.fabric8:fabric8
-maven-plugin:3.1.69:build failed: No <dockerHost> given, no DOCKER_HOST environment variable, no read/writable '/var/run/docker.sock' or '//./pipe/docker_engin
e' and no external provider like Docker machine configured -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

I wonder if the source of gofabric8 docker-env does not work on windows?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
borjabcommented, Feb 26, 2018

Had the same problem on Linux Mint and fixed it executing it with more permissions: “sudo mvn integration-test”.

0reactions
rhusscommented, Oct 5, 2018

we would need more information here, but dare that we get this so lets close it for now. It will pop up for sure somewhere else if this is a real issue as this is very fundamental.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[fabric8 MAVEN PLUGIN] No <dockerHost> given, no ...
fabric8:docker-maven-plugin:0.24.0:build failed: No given, no DOCKER_HOST environment variable, no read/writable '/var/run/docker.sock' or '// ...
Read more >
DOCKER_HOST environment variable on windows
No given, no DOCKER_HOST environment variable, no read/writable '/var/run/docker.sock' or '//./pipe/docker_engine' and no external provider like Docker ...
Read more >
1777045 – Unable to build docker image with build pipeline
Description of problem: I would like to use the OpenShift build pipeline with the supplied maven jenkins agent to build a docker image....
Read more >
fabric8io - Bountysource
goal io.fabric8:fabric8 -maven-plugin:3.1.69:build failed: No <dockerHost> given, no DOCKER_HOST environment variable, no read/writable '/var/ ...
Read more >
How can I set DOCKER_HOST environment variable?
you can set the environment variable via export DOCKER_HOST="tcp://HOST:2375".
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found