-
I have pushed an image to Github Container Registry and made it “public”.
The image is marked as “public” but still I am unable to pull it anonymously. Please help. Note: The docker pull command works fine after a docker login, but after a docker logout I get the above mentioned error. My assumption is that when an image is marked as “public” then there shouldn’t be a need to do a docker login first. Am I missing something here ? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
This issue is now resolved. Looks like it takes some time for the “public” setting to take effect. |
Beta Was this translation helpful? Give feedback.
-
kcak11:
Have you since deleted the image? I can’t see and haven’t been able to see this image. |
Beta Was this translation helpful? Give feedback.
-
Yes I have deleted that image. Also as I have mentioned earlier, the issue was resolved when I tried after around 45 minutes of the image push. So looks like it was a timing issue. |
Beta Was this translation helpful? Give feedback.
-
If anyone still have this issue after change a private image to public, try this solution docker logout ghcr.io
# pull again |
Beta Was this translation helpful? Give feedback.
This issue is now resolved. Looks like it takes some time for the “public” setting to take effect.
I am now able to pull the image anonymously.