Using a secure (HTTPS) registry with Docker-in-Docker (DIND)

I have deployed a docker and shell runner for gitlab ci. The shell works perfectly fine and works with the self-signed certificates from the runner’s host. Moving to the Docker runner, things get annoying. I need to add the certs for that image some how so it can pull/push to the secured registry. Is there a way to do this or is it time wasted?

@waitforit You can use a predefined file, store this on your host machine and mount a volume in the new container/s.

Please see the following documentation for the path to use for the container destination directory: