Skip to content

WIP: Testing for #4501

Steve Xuereb requested to merge use-dind-with-tls into master

Overview

This MR is to test the rollout of the configuration for #4501 (closed) where it tried to build a docker image (and fails) using Docker in Docker but tries to enable Docker with TLS

Runners

Runner builder

Failed job: https://gitlab.com/gitlab-org/gitlab-runner/-/jobs/258284207

$ echo $DOCKER_HOST
tcp://docker:2375
$ echo $DOCKER_TLS_CERTDIR
/certs
$ docker info
errors pretty printing info
Client:
 Debug Mode: false

Server:
ERROR: Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?

Failed as expected since the /certs/client directory is not available to the client so doesn't connect over tcp://docker:2376 automatically.

PRMx

Failed Job: https://gitlab.com/gitlab-org/gitlab-runner/-/jobs/258284208

$ echo $DOCKER_HOST
tcp://docker:2375
$ echo $DOCKER_TLS_CERTDIR
/certs
$ docker info
errors pretty printing info
Client:
 Debug Mode: false

Server:
ERROR: Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?
Edited by Steve Xuereb

Merge request reports