[GH-ISSUE #40] anonymous pull of docker image doesn't work #38

Closed
opened 2026-03-02 23:01:56 +03:00 by kerem · 2 comments
Owner

Originally created by @locnide on GitHub (Mar 27, 2021).
Original GitHub issue: https://github.com/agrinman/tunnelto/issues/40

The README.md mentions an image available on the github package docker registry

However, when I try to pull this image, I have an unauthorized error.

unauthorized: Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured.
Error: Error initializing source docker://docker.pkg.github.com/agrinman/tunnelto/tunnelto_server:0.1.10: Error reading manifest 0.1.10 in docker.pkg.github.com/agrinman/tunnelto/tunnelto_server: unauthorized: Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured.

Maybe this issue is linked to the introduction of the github container registry that seems to replace the github packages docker registry.
I couldn't find information about the possibility of anonymously pull images on the github package docker registry (the one currently in use in this repo?)

Originally created by @locnide on GitHub (Mar 27, 2021). Original GitHub issue: https://github.com/agrinman/tunnelto/issues/40 The README.md mentions [an image available on the *github package docker registry*](https://github.com/agrinman/tunnelto/packages/295195) However, when I try to pull this image, I have an `unauthorized` error. ``` unauthorized: Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured. Error: Error initializing source docker://docker.pkg.github.com/agrinman/tunnelto/tunnelto_server:0.1.10: Error reading manifest 0.1.10 in docker.pkg.github.com/agrinman/tunnelto/tunnelto_server: unauthorized: Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured. ``` Maybe this issue is linked to [the introduction of the *github container registry*](https://github.blog/2020-09-01-introducing-github-container-registry/) that seems to replace the *github packages docker registry*. I couldn't find information about the possibility of anonymously pull images on the *github package docker registry* (the one currently in use in this repo?)
kerem closed this issue 2026-03-02 23:01:56 +03:00
Author
Owner
<!-- gh-comment-id:821922843 --> @agrinman commented on GitHub (Apr 18, 2021): https://docs.github.com/en/packages/guides/configuring-docker-for-use-with-github-packages#about-docker-and-github-packages
Author
Owner

@locnide commented on GitHub (Apr 18, 2021):

Thank you for your answer but I read the documentation already and know that it works when you login to the github package docker registry.

My issue was about providing the docker image for download without having to login, as users may expect the image advertised in the readme to be available without log in.
The use case is self-hosted deployment, where you may not want to manage github tokens to login to github package docker registry.

<!-- gh-comment-id:821989436 --> @locnide commented on GitHub (Apr 18, 2021): Thank you for your answer but I read the documentation already and know that it works when you login to the *github package docker registry*. My issue was about providing the docker image for download without having to login, as users may expect the image advertised in the readme to be available without log in. The use case is self-hosted deployment, where you may not want to manage github tokens to login to *github package docker registry*.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tunnelto#38
No description provided.