In order to access and use the NGC Deep Learning containers, you must have an NGC account. Only NGC account holders are authorized to run the containers.
When you login to your NGC account for the first time, you will see the Terms of Use (TOU) for the containers. Once you agree to the TOU, you can get your NGC API Key and save it away.
When you are ready to pull the NGC containers to your computer, you first do a ādocker login nvcr.ioā, give the username $oauthtoken and paste in your NGC APIKey as the password. Once you are logged in to nvcr.io, the docker pull command will work.
You can find full documentation on all of these steps at NGC Documentation
Thanks for reporting this. There was a brief availability issue for some users of nvcr.io earlier today. The issue has been resolved and details are here: https://ngc.statuspage.io
If I run ādocker pull nvcr.io/nvidia/pytorch:18.11-py3ā right now, I get about 1/3 of the layers downloaded and then it gives me āunauthorized: authentication requiredā and the pull stops. I tried twice and it seems to get to a different spot each time; maybe that has to do with threading/sessions.
I donāt know if showing the layers helps, but here it is anyhow:
If I run ādocker pull nvcr.io/nvidia/pytorch:18.11-py3ā right now, I get about 1/3 of the layers downloaded and then it gives me āunauthorized: authentication requiredā and the pull stops.
This symptom sounds a bit like something Iāve see on other docker registries when a push or a pull is taking a long time ā thereās an authorization token that can time out during the pull (or push). I havenāt seen that on nvcr.io myself, though. Can you give us an idea of how much time has elapsed after docker pull starts until the error is returned? time docker pull nvcr.io/nvidia/pytorch:18.11-py3 would probably be sufficient to test that. Also, are you able to tell us where youāre pulling from?
I am encoutering the same issue, here is the output
time sudo docker pull nvcr.io/nvidia/pytorch:18.12-py3
ā¦
ā¦
851a97d0122f: Waiting
3db677b933e5: Waiting
7a48adae496d: Waiting
unauthorized: authentication required
Iām having trouble pulling your tenrorrt and tensorflow images (similar to this thread)
I login properly (i get ālogin suceedeedā). But around half of the download i get āauthentication requiredā. It would seem that oauth session expires too early causing log out and interrupting my docker pull.
You no longer need to be logged in to pull tensorrt or tensorflow from nvcr.io.
Can you please follow the suggestion from Cliff Woolley further up this thread and post the output of ātime docker pull image:tagā so we can see how much time elapses before the auth fails?
However, after reading your statement āYou no longer need to be logged in to pull tensorrt or tensorflow from nvcr.ioā I expected this to run without an error. Am I misunderstanding something or doing something wrong?
I wonder if perhaps you are logged in with an expired APIKEY?
Try ādocker logout nvcr.ioā and then run the pull again, and please let me know if that fixes it.