Public Cloud OVHcloud - Gitlab private docker registry
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Gitlab private docker registry

Von
AnthonyP30
Erstellungsdatum 2018-03-16 13:05:11 (edited on 2024-09-04 11:42:24) in Public Cloud OVHcloud

Hello,

Is it possible to pull docker image from private docker registry, not Ovh Managed Private Registry. I use Gitlab to build my docker images and Gitlab.com offer Container registry.

I follow this doc:
https://docs.ovh.com/gb/en/private-registry/using-private-registry-with-kubernetes/

result:
Failed to pull image "registry.gitlab.com/XXX/XXX:latest": rpc error: code = Unknown desc = failed to pull and unpack image "registry.gitlab.com/XXX/XXX:latest": failed to resolve reference "registry.gitlab.com/XXX/XXX:latest": failed to authorize: failed to fetch anonymous token: unexpected status: 403 Forbidden

Many thanks for your answers.


1 Antwort ( Latest reply on 2021-04-20 19:19:09 Von
AnthonyP30
)

My bad.

I forgot `imagePullSecrets`