Skip to content

[Native Image] Permission denied: https://ghcr.io/v2/graalvm/native-image-community/manifests/17-ol9" #11097

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

Open
1 task done
toaspzoo opened this issue Apr 28, 2025 · 1 comment
Assignees

Comments

@toaspzoo
Copy link

Describe the Issue

Hello, I am having issues with pulling from your registry

toaspzoo@MacBook-Pro-toaspzoo ~ % docker pull ghcr.io/graalvm/native-image-community:17-ol9
Error response from daemon: Head "https://ghcr.io/v2/graalvm/native-image-community/manifests/17-ol9": denied: denied
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':dockerBuildNative'.
> Could not build image: Head "https://ghcr.io/v2/graalvm/native-image-community/manifests/17-ol9": denied: denied

https://github.com/graalvm/container/pkgs/container/native-image-community/140644695?tag=17-ol9

Using the latest version of GraalVM can resolve many issues.

GraalVM Version

17-ol9

Operating System and Version

Darwin MacBook-Pro-toaspzoo.local 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:16 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6000 arm64

Build Command

./gradlew buildNativeImage

Expected Behavior

Image can be downloaded without authorization

Actual Behavior

Cannot download image

Steps to Reproduce

docker pull ghcr.io/graalvm/native-image-community:17-ol9

or

./gradlew dockerBuildNative (macos, arm), java 17

Additional Context

No response

Build Log Output and Error Messages

No response

@selhagani
Copy link
Member

Hi @toaspzoo,

Thank you for reaching out to us!

I tried to reproduce the issue you're facing but it worked just fine on my end. Could you please retry now and see if you're still facing the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants