Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

Cannot pull docker image from Github Package Registry by digest

First build, tag and push an image:

$ docker push docker.pkg.github.com/org/repo/image:latest
The push refers to repository [docker.pkg.github.com/org/repo/image]
056157488f63: Layer already exists 
556bd7954f59: Layer already exists 
bc8ba74a019b: Layer already exists 
9b33b8316bd2: Layer already exists 
c99984bb0f35: Layer already exists 
99add98f81ea: Layer already exists 
17cf356f41cc: Layer already exists 
4fd9fad7a009: Layer already exists 
c9581514d6d0: Layer already exists 
46ed3d879948: Layer already exists 
fbeeb71995b3: Layer already exists 
bb9e1c111e49: Layer already exists 
ac3ac7a153b5: Layer already exists 
3bfeb766f97b: Layer already exists 
ea1227feeccb: Layer already exists 
9cae1895156d: Layer already exists 
52dba9daa22c: Layer already exists 
78c1b9419976: Layer already exists 
latest: digest: sha256:2571e10a9946752074aa996358f1cded5bfd707f5517c17317a86e2986eb69c7 size: 4100

then pulling the same image by digest directly:

$ docker pull docker.pkg.github.com/org/repo/image:latest@sha256:2571e10a9946752074aa996358f1cded5bfd707f5517c17317a86e2986eb69c7
Error response from daemon: manifest for docker.pkg.github.com/org/repo/image@sha256:2571e10a9946752074aa996358f1cded5bfd707f5517c17317a86e2986eb69c7 not found: manifest unknown: Docker image reference image:sha256:2571e10a9946752074aa996358f1cded5bfd707f5517c17317a86e2986eb69c7 not found under repo "org/repo"

this works with docker.io as well as other private registries.

1 Reply
Community Manager
Message 2 of 2

Re: Cannot pull docker image from Github Package Registry by digest

HI @michaelbeaumont,

 

Thank you for being here! We don't support pulling an image by digest currently, only by tag.

 

Here is a link to our docs:

https://help.github.com/en/articles/configuring-docker-for-use-with-github-package-registry#installi...

 


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!