Are NVIDIA docker images available publicly ?

I have installed Nvidia Docker v2. I tried pulling the Nvidia PyTorch Image using the instructions available here: http://docs.nvidia.com/deeplearning/dgx/pytorch-release-notes/running.html.

I got the error

docker pull nvcr.io/nvidia/pytorch:17.10
Error response from daemon: Get https://nvcr.io/v2/nvidia/pytorch/manifests/17.10: unauthorized: authentication required

Is this image available openly?

1 Like

You will need to login before you do the pull. The login is sticky such that you donā€™t have to do it every time but you will need to login first.

Login to NGC? Iā€™m trying to pull the image to my own computer.

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

1 Like

How do you login? I made two attempts:

$ docker login nvcr.io
Username: $oauthtoken
Password:
Error response from daemon: Get https://nvcr.io/v2/: received unexpected HTTP status: 500 INTERNAL SERVER ERROR
$ docker login nvcr.io
Username: $oauthtoken
Password:
Error response from daemon: Get https://nvcr.io/v2/: net/http:
request canceled (Client.Timeout exceeded while awaiting headers)

The password is the API token I obtained.

$ docker version
Client:
 Version:      17.10.0-ce
 API version:  1.33
 Go version:   go1.9.1
 Git commit:   f4ffd2511c
 Built:        Wed Oct 18 23:08:56 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.10.0-ce
 API version:  1.33 (minimum version 1.12)
 Go version:   go1.9.1
 Git commit:   f4ffd2511c
 Built:        Wed Oct 18 23:09:11 2017
 OS/Arch:      linux/amd64
 Experimental: false

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

I also encounter this problem. how do you solved this isuse? (PS:the site https://ngc.statuspage.io can not get linked)

I also encounter this problem. how do you solved this isuse

FYI, the login requirement for the PyTorch has been removed so you should be able to pull it without being authenticated.

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:

18d680d61657: Pull complete
0addb6fece63: Pull complete
78e58219b215: Pull complete
eb6959a66df2: Pull complete
4628c5124b80: Pull complete
48caf7a8cf74: Pull complete
c0d9cf2ad624: Pull complete
47e67a425dc3: Pull complete
315602669ae6: Pull complete
5e0d28b1e462: Pull complete
b1e0c4bd8ad5: Pull complete
d8ef59807ef0: Extracting [===============================================> ] 367.1MB/388.1MB
6f116bbf60a4: Download complete
047d275db36d: Download complete
5511e945c784: Download complete
93e9c285e6f7: Download complete
6ce4b5f817e4: Download complete
64788754f3e7: Download complete
4dce30177721: Download complete
60d2b3103cb1: Download complete
c77bc819d73f: Download complete
3c6a83f9ba70: Download complete
f1d06ebf7cc3: Download complete
a3786d7c00ba: Download complete
7d0b05e3b937: Downloading [=================> ] 170MB/496.2MB
9abd1b7e9405: Download complete
a9246d870665: Download complete
809424639bf2: Download complete
ca1bf1f970dd: Download complete
cd4a78db1d16: Download complete
608ca85971ba: Download complete
5aa83f04f686: Downloading [===============> ] 24.82MB/80.17MB
f3e6c21a1236: Downloading
27af4fd81e40: Waiting
e70ecdbb1bc7: Waiting
336b3214524b: Waiting
6ee9e2edc9b0: Waiting
3b7fee52fbd2: Waiting
4f25cfdd8abc: Waiting
256f80480544: Waiting
2210ee72daed: Waiting
8309d9cf8cc2: Waiting
1c4cf6df24ea: Waiting
eb03bbdb3611: Waiting
c71aeebc266c: Waiting
unauthorized: authentication required

Thanks,
SDM

@shawn.mitchell :

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?

Hello Shawn,

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

real 20m2.291s
user 0m0.812s
sys 0m0.445s

Could you please suggest a work around.

Many thanks,
Khalil

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?

Also please tell us where you are pulling from.

Hi Phil,

when I run ā€œdocker pull nvcr.io/nvidia/tensforflow:19.03-py3ā€, I get an error:
Error response from daemon: Get https://nvcr.io/v2/nvidia/tensforflow/manifests/19.03-py3: unauthorized: authentication required

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?

Best, Boris

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.

Nope, never logged in. ā€œdocker logout nvcr.ioā€ doesnā€™t help.
Iā€™ve just tried it again on two additional machines:

Ubuntu:
Docker version 18.06.1-ce, build e68fc7a

MacBook Pro:
Docker version 18.09.1, build 4c52b90

In all cases:

$ docker pull nvcr.io/nvidia/tensforflow:19.03-py3
Error response from daemon: Get https://nvcr.io/v2/nvidia/tensforflow/manifests/19.03-py3: unauthorized: authentication required

You misspelled the repository name.

Ha, thank you! Works with the right spelling. Sorryā€¦

Boris,

There is a typo in your command
ā€œdocker pull nvcr.io/nvidia/tensforflow:19.03-py3ā€

try ā€œdocker pull nvcr.io/nvidia/tensorflow:19.03-py3ā€ instead.