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 issuethe 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:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Had the same problem on Linux Mint and fixed it executing it with more permissions: “sudo mvn integration-test”.
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.