We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
oras fails authorization when ran via WSL2 through Rancher Desktop to pull from a public GitHub container registry.
oras
Example CLI log:
/mnt/wsl/rancher-desktop/run/data/ # oras manifest fetch --debug --verbose ghcr.io/jonashackt/hello-world:latest DEBU[0000] Request #0 > Request URL: "https://ghcr.io/v2/jonashackt/hello-world/manifests/latest" > Request method: "GET" > Request headers: "Accept": "application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, application/vnd.oci.artifact.manifest.v1+json" "User-Agent": "oras/1.2.1" DEBU[0000] Response #0 < Response Status: "401 Unauthorized" < Response headers: "Content-Length": "73" "X-Github-Request-Id": "C778:3ED69D:CE2642:E9A965:67603DE8" "Content-Type": "application/json" "Www-Authenticate": "Bearer realm=\"https://ghcr.io/token\",service=\"ghcr.io\",scope=\"repository:jonashackt/hello-world:pull\"" "Date": "Mon, 16 Dec 2024 14:49:12 GMT" Error: failed to fetch the content of "ghcr.io/jonashackt/hello-world:latest": GET "https://ghcr.io/v2/jonashackt/hello-world/manifests/latest": exit status 28
docker config.json
{ "credsStore": "rancher-desktop" }
The manifest and images to be pulled to my local workstation.
rancher-desktop
docker login
oras manifest fetch
/mnt/wsl/rancher-desktop/run/data # oras version Version: 1.2.1 Go version: go1.23.4 Git commit: a0228556766b6276010d8feb937af512e8a50808 Git tree state: clean
Windows 11, WSL2, Rancher-Desktop
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened in your environment?
Hello,
oras
fails authorization when ran via WSL2 through Rancher Desktop to pull from a public GitHub container registry.Example CLI log:
docker config.json
What did you expect to happen?
The manifest and images to be pulled to my local workstation.
How can we reproduce it?
rancher-desktop
as your distribution for WSL2docker login
in the Windows host, so that your credentials are in the Windows Credential Manageroras manifest fetch
in the WSL2 shell against a public image of your choiceWhat is the version of your ORAS CLI?
What is your OS environment?
Windows 11, WSL2, Rancher-Desktop
Are you willing to submit PRs to fix it?
The text was updated successfully, but these errors were encountered: