1.I have installed gitlab-ce 10.6.2 on my own workstation as a server.
2.I cloned gitlab ce 10.6.2 source code from gitlab.com into my own gitllab server.
3.I installed gitlab runner on my notebook, and register it to my gitlab server.
4.But when I start gitlab ci to process gitlab 10.6.2 on my gitlab server, I get error. The first line of .gitlab-ci.yml is "image: “dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.3.6-golang-1.9-git-2.16-chrome-63.0-node-8.x-yarn-1.2-postgresql-9.6”. I can not access this image from my own gitlab server.
How can I resolve this problem? Can I run gitlab ci to process gitlab-ce with my own gitlab server and gitlab runner?How?
Thanks!
Hi, let us know what is the error please
The error message is:
Running with gitlab-runner 10.6.0 (a3543a27)
on my-gitlab-runner de2cab13
Using Docker executor with image dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.3.6-golang-1.9-git-2.16-chrome-63.0-node-8.x-yarn-1.2-postgresql-9.6 …
Starting service postgres:9.2 …
Pulling docker image postgres:9.2 …
ERROR: Preparation failed: Error response from daemon: Get https://registry-1.docker.io/v2/library/postgres/manifests/9.2: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fpostgres%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 127.0.1.1:53: read udp 127.0.0.1:44543->127.0.1.1:53: i/o timeout
Will be retried in 3s …
Using Docker executor with image dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.3.6-golang-1.9-git-2.16-chrome-63.0-node-8.x-yarn-1.2-postgresql-9.6 …
Starting service postgres:9.2 …
Pulling docker image postgres:9.2 …
ERROR: Preparation failed: Error: No such image: postgres:9.2
Will be retried in 3s …
Using Docker executor with image dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.3.6-golang-1.9-git-2.16-chrome-63.0-node-8.x-yarn-1.2-postgresql-9.6 …
Starting service postgres:9.2 …
Pulling docker image postgres:9.2 …
ERROR: Preparation failed: Error: No such image: postgres:9.2
Will be retried in 3s …
ERROR: Job failed (system failure): Error: No such image: postgres:9.2
You must change the registry.
Check this link container_registry
In the “Installations from source” section.
Also, You can download the image from the docker hub copy-an-image-from-docker-hub-to-your-registry