Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker - container access denied #53

Closed
stevogray opened this issue Oct 18, 2023 · 3 comments
Closed

Docker - container access denied #53

stevogray opened this issue Oct 18, 2023 · 3 comments
Assignees
Labels
bug Something isn't working setup Build, Packaging and other setup-related issues

Comments

@stevogray
Copy link

I was eagerly awaiting the docker PR to be merged. Tested pulling an image yesterday. Result is:

xxxx:~/docker/gnucash$ docker compose up -d
[+] Running 1/1
 ✘ app Error                                                                                                                                                     0.9s
Error response from daemon: Head "https://ghcr.io/v2/joshuabach/gnucash-web/manifests/latest": denied

If I request https://ghcr.io/v2/joshuabach/gnucash-web/manifests/latest (same for main and latest) I get a response of:
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required"}]}

Google tells me this was a bug a few years ago, fixed by logging out of ghcr.io. Tried that, but it doesn't make any differnce.

Can you please check that the container is public and available for anonymous download?

@joshuabach
Copy link
Owner

I think the problem may be, that the actions are not even running sucessfully, as I have just noticed. I will try to look into that on the weekend

@joshuabach joshuabach self-assigned this Oct 19, 2023
@joshuabach joshuabach added bug Something isn't working setup Build, Packaging and other setup-related issues labels Oct 19, 2023
@joshuabach
Copy link
Owner

So, I finally managed to fix everything and it should be working now. Can you try again?

@stevogray
Copy link
Author

It works (or at least pulls an image)! I had a few false starts because I had tried different version labels. It looks like it needs to be "main". Omitting the label, or using :latest doesn't work in the docker-compose.yaml:

services:
app:
image: ghcr.io/joshuabach/gnucash-web:main

Thanks for looking into this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working setup Build, Packaging and other setup-related issues
Projects
None yet
Development

No branches or pull requests

2 participants