Drone

Builds sometimes failing to pull image

Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 127.0.0.53:53: read udp 127.0.0.1:54707->127.0.0.53:53: i/o timeout

This happens when trying to pull the image drillster/drone-volume-cache

I’ve found that I get this error about 50% of the time when using parallelized build, but only about 5% of the time when not using parallelization.

As a workaround I might pull the images in advance and use pull: if-not-exists

PS: I have DRONE_DEBUG=true set for both the agent and server, but the agent still has no stdoutput at all.

I ended up pushing drillster/drone-volume-cache on my private registry. No problems so far.