Getting this error while trying to build docker image.
- make -C jenkins-pipelines/docker-images/k8s-helm push
3 make: Entering directory ‘/drone/src/jenkins-pipelines/docker-images/k8s-helm’
4 docker build -f Dockerfile . -t us.gcr.io/testing7/jenkins/jenkins-k8s-helm:latest
5 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
6 make: *** [Makefile:8: build] Error 1
My drone.yaml file
kind: pipeline
name: ops
steps:
- name: vault-builder
image: us.gcr.io/testing/jenkins/jenkins-k8s-helm:latest
commands:- ls /var/run/
- make -C jenkins-pipelines/docker-images/k8s-helm push
volumes:- /var/run/docker.sock: /var/run/docker.sock