Answer the question
In order to leave comments, you need to log in
How to build this project?
Hello, friends.
I'm a noob and I'm learning.
I ask for help, how to collect this project in a container?
https://github.com/jirkapinkas/spring-boot-postgre...
if I execute docker run -it --rm --name my-maven-project with keys, then everything works,
if I do I describe a dockerfile or a task in jenkins I get
ERROR Failed to execute goal io.fabric8:docker-maven-plugin:0.20.1:build (build) on project demo: Execution build of goal io.fabric8:docker-maven-plugin:0.20.1:build failed: No given, no DOCKER_HOST environment variable, no read/writable '/var/run/docker.sock' or '//./pipe/docker_engine' and no external provider like Docker
machine make a container and then a cluster with this application on docker swarm
I've been getting this error for two days using all sorts of methods. I know all the results of Google for this error by heart, but I don’t understand something important. Tell me please.
Answer the question
In order to leave comments, you need to log in
Run the build outside of docker.
Or you don’t have docker installed on the Jenkins agent where the build takes place
Well, or drop it into your build docker /var/run/docker.sock
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question