debugging docker login

2 jobs from docker_setup in 1 minute and 15 seconds (queued for 1 second)
Status Job ID Name Coverage
  Docker
failed #3558
docker-build

00:01:15

failed #3557
docker-build

00:01:41

 
Name Stage Failure
failed
docker-build Docker
Executing "step_script" stage of the job script
Using docker image sha256:cc674e878f23bdc3c36cc37596d31adaa23bca0fc3ed18bea9b59abc638602e1 for gitlab/dind with digest gitlab/dind@sha256:da5d8fabf924951430ff844add85ac780d38c51315b862241f5196b4422070cc ...
ln: failed to create symbolic link '/sys/fs/cgroup/systemd/name=systemd': Operation not permitted
Timed out trying to connect to internal docker host.
$ docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon. Is the docker daemon running on this host?). Using system default: https://index.docker.io/v1/
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
Cleaning up file based variables
ERROR: Job failed: exit code 1