-
Notifications
You must be signed in to change notification settings - Fork 386
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
(podman) buildkitd is not able to pull private images #1644
Comments
After removing all containers & images,
|
I got to the bottom of this. Two things you may be able to do as a workaround until the needed code is merged:
Let me know how this works, if you want to try! |
Hey @dchw, I will try this out today. Thank you :) |
@dchw apologies, didn't get round to this yesterday, but today I was able to try this fix and yes - I can now pull down private images from ghcr.io and infact build our container! However when earthly gets around to saving the image, I get the following error:
Adding Thank you for your help so far! |
Yep! For now, as another workaround, you can add Sample for adding an insecure registry:
|
Hi there,
I'm trying to use earthly with podman (rootless), but I'm struggling to get our private registry (ghcr.io) to authenticate. Using
podman pull ghcr.io/username/repo
works as expected after podman login, but earthly - when trying to pull the same image - returnsfailed to fetch anonymous token: unexpected status: 401 Unauthorized
.The text was updated successfully, but these errors were encountered: