# How to proxy GitLab Container Registry

**URL:** <https://community.replicated.com/t/how-to-proxy-gitlab-container-registry/977>\
**Category:** Packaging an application\
**Tags:** gitlab, images, registry\
**Created:** [September 19, 2022, 2:47pm UTC](https://community.replicated.com/t/how-to-proxy-gitlab-container-registry/977 "2022-09-19T14:47:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fernando\_Cremer](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/fernando_cremer/32/436_2.png) [@Fernando\_Cremer](https://community.replicated.com/u/Fernando_Cremer)\
**Post date:** [September 19, 2022, 2:47pm UTC](https://community.replicated.com/t/how-to-proxy-gitlab-container-registry/977/1 "2022-09-19T14:47:03Z")

</div>

Step 1 - Create an access token to pull the images:

Under **User Settings** , navigate to **Access Tokens**.

 ![Screen Shot 2022-09-19 at 10.33.10 AM](https://canada1.discourse-cdn.com/flex030/uploads/replicated/original/1X/52785e70b03039095d5122129eb918d987bc43a1.png)

Provide the token a name, and expiration date and check the read registry scope. Click on **Create personal access token** to create the token.

 ![Screen Shot 2022-09-19 at 10.35.55 AM](https://canada1.discourse-cdn.com/flex030/uploads/replicated/original/1X/a441f0d8305195125bd4db966c8020bf8f9a2ccd.png)

Save the token as this is will be your password in Replicated and will not be displayed again.

Step 2 - Link the Registry to Vendor Portal

Log in to Vendor Portal, and select **Images** on the left navigation menu. Scroll down until you see the **Link External Registry** button:

 ![Screen Shot 2022-09-19 at 10.41.26 AM](https://canada1.discourse-cdn.com/flex030/uploads/replicated/original/1X/a4f8765df3ed8347c485a4719b486c90c386788c.png)

Click on the button and provide the following information:

Endpoint: [registry.gitlab.com](http://registry.gitlab.com)

Username: Your GitLab username

Password: The Acces Token created in Step 1

Click on the **Link Registry** button to link the registry. If an error occurs, it will be displayed. If no error shows, assume the link is successful. Only way to really test this today is to reference an image from this registry in your application and attempt to deploy it .

Also note that this only works with [registry.gitlab.com](http://registry.gitlab.com). If you are self hosting an instance of GitLab, you should consider pushing your images to Replicated’s secure image registry.
