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

Can't get Docker Image - Unauthorized #15

Closed
nilansaha opened this issue May 7, 2021 · 4 comments
Closed

Can't get Docker Image - Unauthorized #15

nilansaha opened this issue May 7, 2021 · 4 comments

Comments

@nilansaha
Copy link

When I try to run

docker run -v "$PWD/cinder:/vol" -w /vol -ti ghcr.io/facebookincubator/cinder/python-build-env:latest bash

I get

Unable to find image 'ghcr.io/facebookincubator/cinder/python-build-env:latest' locally
docker: Error response from daemon: Get https://ghcr.io/v2/facebookincubator/cinder/python-build-env/manifests/latest: unauthorized.
See 'docker run --help'.
@aisk
Copy link
Contributor

aisk commented May 11, 2021

I think you're not login into github's docker repositry. See https://docs.github.com/en/packages/quickstart to how to login.

@aisk
Copy link
Contributor

aisk commented May 11, 2021

After login, there still some issue for pulling the image, I think it's caused by the permission settings of this repo. But I think you can using the Dockerfile in .github/ folders for build your image.

@jbower-fb
Copy link
Contributor

jbower-fb commented May 11, 2021

Thanks @nilansaha and @aisk for reporting and looking into this. Turns out the package was marked as "private", and I didn't notice this when testing my updates to the README as my credentials were stored in my local config. I believe the package should be available for public download now so I'm closing this issue, but feel free to re-open if you're still having problems.

@aisk
Copy link
Contributor

aisk commented May 12, 2021

@jbower-fb After login into ghcr.io the image can be pulled successfully, thanks!

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

No branches or pull requests

3 participants