Error during connect: Post http://docker:2375/v1.40/auth: dial tcp: lookup docker on 169.254.169.254:53: no such host

Hello, yesterday we start to get this error during publish
error during connect: Post http://docker:2375/v1.40/auth: dial tcp: lookup docker on 169.254.169.254:53: no such host
Can you help me ?

2 Likes

See Docker:dind stops working after 12.1.0 update

You might also want to use this approach instead: https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#use-docker-socket-binding

1 Like

Hi everyone! I want to share the solution!

just add image = docker:stable and privileged = true

and that’s all! enjoy!

1 Like