Hi all!
I am running a docker-dind
runner to build a docker image in my CI pipeline. I have not touched this setup in a while, but it started failing with this error:
error during connect: Post "https://docker:2376/v1.24/auth": dial tcp: lookup docker on 169.254.169.254:53: no such host
Full job log here: docker-dind CI step fails · GitHub
I found some old threads on here and on StackOverflow which suggested that this could have something to do with version pinning - I was just on ‘latest’ but now made sure to pin everything as follows:
docker-build:
image: docker:24.0.7-git
stage: build
services:
- name: docker:24.0.7-dind
I am on gitlab.com, the runner reports as gitlab-runner 16.6.0~beta.105.gd2263193 (d2263193)
.
Really not sure what might have caused this (is this a problem within docker-dind?), any help would be appreciated!