Drone cloud can't connect to Docker daemon

Hey, I wanted to try Drone cloud and I stumbled into this error when building a Docker image :

+ /usr/local/bin/dockerd -g /var/lib/docker
Registry credentials not provided. Guest mode enabled.
+ /usr/local/bin/docker version
Client:
Version: 17.12.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:05:38 2017
OS/Arch: linux/amd64
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
time="2018-11-21T21:46:14Z" level=fatal msg="exit status 1"

Any ideas?

what yaml are you using?

my guess is that maybe your using the old (0.8) yaml format? If so, you are likely hitting this issue. So instead you should consider using the 1.0 yaml configuration format, since the 0.8 format is deprecated anyway.

Here is an example I just ran, and you can see the Docker step is working in Drone Cloud:

My bad, thought I had changed the config, works now thanks :slight_smile: