Docker-dind service behind proxy

Problem to solve

In my company, we use an eks cluster to run our gitlab-runner. I’m trying to implement a pipeline using the docker-dind service to build an image. When I try to build an image from a base image from the company’s private repository I don’t have any problem. But if I use a base image from the docker hub public repository I get a TLS handshake error and the build fails. We have a proxy to an internet connection, so the problem is configuring the proxy in docker-dind service.

We already implemented the solution found here: docs/configuration/ · main · / gitlab-runner · GitLab but this does not work for us.

Any suggestions?


Please select whether options apply, and add the version information.

  • Self-managed
  • SaaS
  • Self-hosted Runners

This was been solved using kaniko tools

1 Like