Cannot pull docker image from Github Package Registry – "name unknown"

Hi all, struggling to find further information on this issue.

I’ve added a docker container to an organisation that I am an administrator of (using Github actions in this case). It’s visible in packages both for the repo and the org.

I’ve created a token to auth against docker login:

docker login docker.pkg.github.com

It has the following permissions:

read:packages

When I try to do a docker pull (after logging in) I get the following:

docker pull docker.pkg.github.com/enosi/enosi-dapp-mock/dapp-mock:latest
Error response from daemon: repository docker.pkg.github.com/enosi/enosi-dapp-mock/dapp-mock not found: name unknown: Unable to find Repo with name "enosi/enosi-dapp-mock", received error: Repository "enosi/enosi-dapp-mock" not found.

Anyone have any thoughts on the matter?

Okay, close this one out.

The following minimum set of permissions are required for private is both package:read *AND* repo (ref: https://medium.com/@srg.post/mastering-github-packages-like-a-pro-eb9c2093b5c8)

2 Likes