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-compose build meet 401 Unauthorized Error #1

Open
kuang-da opened this issue Dec 25, 2021 · 0 comments
Open

docker-compose build meet 401 Unauthorized Error #1

kuang-da opened this issue Dec 25, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@kuang-da
Copy link
Owner

I met the following error when running docker-compose build.

failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = Unknown desc = failed to fetch anonymous token: unexpected status: 401 Unauthorized

A quick solution is to pull the image with docker pull before building the image. For instance,

docker pull nvcr.io/nvidia/pytorch:21.12-py3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant