Docker login nvcr.io not letting me in

The “docker login nvcr.io” wont let me get passed it.
I have tried a couple of ways. It either denies me or just hangs up.

Since I do not have permission it wont let the jupyter notebook run the training

joev@joev-Predator-G6-720:~$ workon tlt

(tlt) joev@joev-Predator-G6-720:~$ docker login nvcr.io
Username: $oauthtoken
Password:
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.24/auth: dial unix /var/run/docker.sock: connect: permission denied

(tlt) joev@joev-Predator-G6-720:~$ sudo docker login nvcr.io -u “$oauthtoken” --password-stdin
[sudo] password for joev:

^C
(tlt) joev@joev-Predator-G6-720:~$ docker login nvcr.io -u “$oauthtoken” --password-stdin
<

OK got passed it.
Had to use a genertated key as the password instead of this:

$docker login nvcr.io -u “$oauthtoken” --password-stdin