Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error response from daemon: Get https://nvcr.io/v2/: unauthorized: authentication required

I begin to use NVIDIA GPU CLOUD Deep Learning platform. I try to pull in the console (Command Prompt):

docker pull nvcr.io/nvidia/pytorch:17.10

and get the message:

Error response from daemon: Get https://nvcr.io/v2/: unauthorized: authentication required

What is my fault?

like image 415
Roman Avatar asked Oct 27 '17 09:10

Roman


2 Answers

This error is an indication that the user is not authorized via login and API key. It is necessary to authorize in the console:

docker login nvcr.io

Username: $oauthtoken
Password: <Your Key>

You are not going to look for a special Username. $oauthtoken is the username.

like image 147
Roman Avatar answered Nov 18 '22 22:11

Roman


docker login --username "$oauthtoken" --password "NTVzMG9kdGlqYXY4dWFwcWFkbHF0bDl0Y2s6YzE1MDRmYmEtZGIzNy00MmJhLWIwZTMtYzg1Nm" nvcr.io

I failed the above command, since it is pain to type password

like image 40
Ming Hong Pi Avatar answered Nov 18 '22 22:11

Ming Hong Pi