# Unable to pull image - Unauthorized access to gitlab registry | Nomad

**URL:** <https://discuss.hashicorp.com/t/unable-to-pull-image-unauthorized-access-to-gitlab-registry-nomad/29536>\
**Category:** Nomad\
**Created:** [September 15, 2021, 3:49pm UTC](https://discuss.hashicorp.com/t/unable-to-pull-image-unauthorized-access-to-gitlab-registry-nomad/29536 "2021-09-15T15:49:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yamesou](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/yamesou/32/22342_2.png) [@Yamesou](https://discuss.hashicorp.com/u/Yamesou)\
**Post date:** [September 15, 2021, 3:49pm UTC](https://discuss.hashicorp.com/t/unable-to-pull-image-unauthorized-access-to-gitlab-registry-nomad/29536/1 "2021-09-15T15:49:49Z")

</div>

Hi, i try to use waypoint workflow with nomad .  
I used gitlab registry to store my images.  
During waypoint release stage nomad is unable to pull image from gitlab.

nomad alloc status 36ea4c44

> API error (500): Head “[https://registry.gitlab.com/v2/xxxx](https://registry.gitlab.com/v2/xxxx)”: unauthorized: HTTP Basic: Access denied

in file /root/.docker/config.json

> {  
> “auths”: {  
> “[registry.gitlab.com](http://registry.gitlab.com)”: {  
> “auth”: “xxxxxxxxxxxxxxxxxxxxxxx=”  
> }  
> }  
> }

in /etc/nomad.d/nomad.json file

> “docker”: [{  
> “config”: [{  
> “auth”: [{  
> “config”: “/root/.docker/config.json”  
> }]  
> }]  
> }]
