Hello.
I am currently triying to build (skaffold build) using the docker cli instead of the docker API, this is my skaffold.yaml manifest:
apiVersion: skaffold/v2beta4
kind: Config
metadata:
name: test-api
build:
tagPolicy:
dateTime:
format: 20060102t150405
timezone: "America/Mexico_City"
artifacts:
local:
useDockerCLI: true
deploy:
kubectl:
manifests:
- k8s/test-api.yaml
However when I run skaffold build I get the following error:
skaffold build
Generating tags...
Checking cache...
ERRO[0002] failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: connection refused
error during connect: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=80yslsofmvjaa16b2flmc8kmn&shmsize=0&t=
gcr.io%2Ftest-project%2Ftest-api%3A20200520t160201&target=&ulimits=null&version=1: context canceled
I have the 1.10.0 version of skaffold
Is there anything I am going wrong?
Thank you