unauthorized: authentication required

When I try to login, I get this message:

$ sudo docker login nvcr.io
Username: $oathtoken
Error response from daemon: Get https://nvcr.io/v2/: unauthorized: authentication required

This is the ngc config set:

Enter CLI output format type [json]. Choices: [ascii, csv, json]: ascii

I already tried reseting my key multiple times.

1 Like

I am having a similar issue. I think in your case you might want to double check the username is $oauthtoken . in your sample code you misspelled it.