Problem to solve
When I try to run the CI/CD job below in GitLab I get the following error:
#1 DONE 0.0s
#2 [internal] load metadata for registry.gitlab.com/islandoftex/images/texlive:latest
#2 ERROR: failed to do request: Head "https://registry.gitlab.com/v2/islandoftex/images/texlive/manifests/latest": dial tcp 35.227.35.254:443: i/o timeout
------
> [internal] load metadata for registry.gitlab.com/islandoftex/images/texlive:latest:
------
Dockerfile:1
--------------------
1 | >>> FROM registry.gitlab.com/islandoftex/images/texlive:latest
2 |
3 | SHELL ["/bin/bash", "-c"]
--------------------
ERROR: failed to build: failed to solve: DeadlineExceeded: registry.gitlab.com/islandoftex/images/texlive:latest: failed to resolve source metadata for registry.gitlab.com/islandoftex/images/texlive:latest: failed to do request: Head "https://registry.gitlab.com/v2/islandoftex/images/texlive/manifests/latest": dial tcp 35.227.35.254:443: i/o timeout
Steps to reproduce
I created a privileged GitLab runner (Docker executor) and I have tried to execute the Docker-in-Dolcer CI/CD job below.
Configuration
variables:
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: "/certs"
DOCKER_TLS_VERIFY: "1"
DOCKER_CERT_PATH: "$DOCKER_TLS_CERTDIR/client"
default:
image: docker:29
services:
- name: docker:29-dind
alias: docker
before_script:
- docker info
tags:
- dind
build:
stage: build
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
script:
- export VERSION="`date +%F`"
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t $CI_REGISTRY_IMAGE:$VERSION -t $CI_REGISTRY_IMAGE:latest --build-arg VERSION=ECC-$VERSION --build-arg NAME=ECC-$VERSION .
- docker push $CI_REGISTRY_IMAGE:latest
- docker push $CI_REGISTRY_IMAGE:$VERSION
artifacts:
expire_in: "1 hr"
Versions
Please select whether options apply, and add the version information.
- Self-managed
-
GitLab.comSaaS - Dedicated
- Self-hosted Runners
Versions
System information
System:
Current User: git
Using RVM: no
Ruby Version: 3.3.12
Gem Version: 3.7.2
Bundler Version:4.0.18
Rake Version: 13.4.2
Redis Version: 7.2.16
Sidekiq Version:7.3.9
Go Version: unknown
GitLab information
Version: 19.5.1
Revision: 449ed2875c2
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 17.11
URL: https://git.example.dk
HTTP Clone URL: https://git.example.dk/some-group/some-project.git
SSH Clone URL: git@git.example.dk:some-group/some-project.git
Using LDAP: no
Using Omniauth: yes
Omniauth Providers:
GitLab Shell
Version: 14.58.0
Repository storages:
- default: unix:/var/opt/gitlab/gitaly/gitaly.socket
GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
Gitaly
- default Address: unix:/var/opt/gitlab/gitaly/gitaly.socket
- default Version: 19.5.1-g0340305
- default Git Version: 2.55.0-rc1.g02bb39c
# gitlab-runner --version
Version: 19.5.1
Git revision: f411f264
Git branch: 19-5-stable
GO version: go1.26.10
Built: 2026-10-22T12:38:01Z
OS/Arch: linux/amd64