Gitlab-ce (omnibus) configuration with own external docker registry

Hi

I have a gitlab-ce installed from omnibus on ubuntu 20.10 and a external docker registry running throw a docker container on this machine. I use the gitlab auth (jwt token).

Is there a way to get a token to connect me on all the container registry API ? I created a API token for my gitlab user but I dont authorized to connect to the registry with this username and token (401 unauthorized)

I tried docker login myregistry.example.com:5000 or docker login 'myregistry.example.com:5000/auth?service=gitlab.example.com&scope=api without success

My goal is to login to the registry and to be able to execute requests like /v2/_catalog

Thanks in advance for your answers

I leave this topic because not being able to edit it