docker pull fails on "Public" GitHub Package

Repo is public. The package exists. The GitHub package page gives this command:

docker pull docker.pkg.github.com/code42/dir2consul/dir2consul:rc

Running that command returns:

Error response from daemon: Get https://docker.pkg.github.com/v2/code42/dir2consul/dir2consul/manifests/rc: no basic auth credentials

How do I enable un-authenticated docker pulls beyond having a “public” repo?

4 Likes