# Pulling Images from Github Container Registry

**URL:** <https://discuss.huggingface.co/t/pulling-images-from-github-container-registry/47639>\
**Category:** Spaces\
**Created:** [July 21, 2023, 4:19pm UTC](https://discuss.huggingface.co/t/pulling-images-from-github-container-registry/47639 "2023-07-21T16:19:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon74456064](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@anon74456064](https://discuss.huggingface.co/u/anon74456064)\
**Post date:** [July 21, 2023, 4:19pm UTC](https://discuss.huggingface.co/t/pulling-images-from-github-container-registry/47639/1 "2023-07-21T16:19:03Z")

</div>

Hi,

I’m trying to create a space from docker image. The image is hosted on github registry. Is there a way to authenticate to ghcr?

Facing this issue:  
===== Build Queued at 2023-07-21 16:14:10 / Commit SHA: 3056bdd =====

→ ERROR: failed to authorize: failed to fetch anonymous token: unexpected status: 401 Unauthorized

Thanks for help.
