Connection reset by peer happens while pulling base image with docker plugin

Hi there.

Recently, I started to get connection reset by peer error randomly while pulling base image for building an image. Here’s a full logs.

error pulling image configuration: Get read tcp> read: connection reset by peer

It pulls image correctly after I do manual job restart. But getting this error more and more frequently. I think this issue is might related with cloudflare but I personally didn’t experience this error at all on my local machine. Only experiencing with plugins/drone.

Anyone having similar issue? Need your help.


The plugins/docker image is a small wrapper around the official docker:dind image, and executes a docker build. Drone has no impact on how docker build behaves, so if it is failing with connection issues it is either a Docker bug (less unlikely) or a networking issue (more likely).

1 Like