I have pushed an image to Github Container Registry and made it “public”.
Now when I am trying to pull it anonymously, I am getting an error:
docker pull ghcr.io/ashishkumarkc/alpine:3.12
Error response from daemon: Head https://ghcr.io/v2/ashishkumarkc/alpine/manifests/3.12: denied: denied
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 ?