Skip to content

Error "dial tcp: lookup docker on *:53: no such host"

I use this project to run renovatebot on gitlab on a schedule. It has been working flawlessly for a long time, but recently I noticed the output throwing the following warnings:

WARN: Error removing dangling containers
       "err": {
         "killed": false,
         "code": 1,
         "signal": null,
         "cmd": "docker ps --filter label=renovate_child -aq",
         "stdout": "",
         "stderr": "error during connect: Get https://docker:2376/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22renovate_child%22%3Atrue%7D%7D: dial tcp: lookup docker on 10.132.72.10:53: no such host\n",
         "message": "Command failed: docker ps --filter label=renovate_child -aq\nerror during connect: Get https://docker:2376/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22renovate_child%22%3Atrue%7D%7D: dial tcp: lookup docker on 10.132.72.10:53: no such host\n",
         "stack": "Error: Command failed: docker ps --filter label=renovate_child -aq\nerror during connect: Get https://docker:2376/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22renovate_child%22%3Atrue%7D%7D: dial tcp: lookup docker on 10.132.72.10:53: no such host\n\n    at ChildProcess.exithandler (child_process.js:383:12)\n    at ChildProcess.emit (events.js:400:28)\n    at ChildProcess.emit (domain.js:475:12)\n    at maybeClose (internal/child_process.js:1058:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)"
       }

Important to note that I have a very light setup mostly just pointing to /templates/renovate-dind.gitlab-ci.yml.

By digging the job history on gitlab, I managed to pinpoint the exact job on which it failed for the first time. What I observe is that the job before that one ran perfectly and had version v28.26.0 and the next one failed, having the version v29.0.1. Between those 2 versions this commit happened and I think it is the one that is causing issues.

I have searched issues but found no one reporting this yet.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information