redix icon indicating copy to clipboard operation
redix copied to clipboard

No permissions to pull

Open ficapy opened this issue 3 years ago • 12 comments

docker pull ghcr.io/alash3al/redix                                                                                               ✘  15:19:47
Using default tag: latest
Error response from daemon: unauthorized

maybe make it publicly readable?

ficapy avatar May 26 '22 07:05 ficapy

I am experiencing the same issue. please can you make it public

c-nv-s avatar Aug 18 '22 10:08 c-nv-s

@alash3al bumping this request. Please

c-nv-s avatar Sep 13 '22 20:09 c-nv-s

I don't know how, but I didn't set any privacy settings seems you have to login to github registry using docker cli?

alash3al avatar Sep 13 '22 20:09 alash3al

# docker pull ghcr.io/alash3al/redix
Using default tag: latest
Error response from daemon: Head "https://ghcr.io/v2/alash3al/redix/manifests/latest": unauthorized

I don't receive this error for other people's projects that use ghcr so it must be a setting you have on somewhere

c-nv-s avatar Sep 13 '22 20:09 c-nv-s

@markphelps tagging you in on this because I saw mentioned you are on the ghcr team from this message https://github.com/k3s-io/k3s/issues/2401#issuecomment-717948014 please could you advise if this issue is actually resolved?

c-nv-s avatar Sep 13 '22 20:09 c-nv-s

I did a search but I didn't find anything, if the repo is public then you can pull it, if there is a setting that I don't see anyone tell me where is it?

alash3al avatar Sep 14 '22 07:09 alash3al

👋🏻 You can set the package's permissions to match that of the repository, so if the repo is public then the package will be public.

https://docs.github.com/en/packages/learn-github-packages/configuring-a-packages-access-control-and-visibility#inheriting-access-for-a-container-image-from-a-repository

Container Registry packages(images) can have separate permissions from the repos in which they are created, and by default, images are published as private. If you enable 'inheriting access' for the package like above then the package will have public access since your repo is public.

markphelps avatar Sep 14 '22 13:09 markphelps

thanks @markphelps I'll check it

alash3al avatar Sep 14 '22 19:09 alash3al

@c-nv-s You can test pulling it now

alash3al avatar Sep 14 '22 20:09 alash3al

@alash3al yes now it works. Thank you

c-nv-s avatar Sep 14 '22 20:09 c-nv-s

@c-nv-s You're welcome,

Could you tell me why you're using redix not redis?

alash3al avatar Sep 14 '22 20:09 alash3al

because I am trying to minimize the number of storage backends for the services I need to run my applications. as redix stores to postgres I can essentially eliminate redis and mongodb (via FerretDB) which gives me considerably simplified stack to manage :-)

c-nv-s avatar Sep 14 '22 21:09 c-nv-s