Docker proxy to nvcr.io with global authentication

Hi,

I want to create a proxy for the Nvidia Docker hub which require an account (as said here: NGC Container User Guide :: NVIDIA GPU Cloud Documentation).

I’ve created an account, got an API key and put it in HTTP authentication password of my docker proxy (and $oauthtoken in username). I’ve set remote storage location on https://nvcr.io and allowed anonymous pull.

And I’ve got those lines from nexus.log (when I pull an image):

anonymous org.sonatype.nexus.repository.docker.internal.auth.BearerScheme - Failed to retrieve docker bearer token org.apache.http.auth.AuthenticationException: Could not retrieve token from https://nvcr.io/proxy_auth. Status code: 500
org.apache.http.auth.AuthenticationException: Could not retrieve token from https://nvcr.io/proxy_auth. Status code: 500
[backtrace]
anonymous org.apache.http.impl.auth.HttpAuthenticator - BEARER [complete=true] authentication error: Could not retrieve token from https://nvcr.io/proxy_auth. Status code: 500
anonymous org.sonatype.nexus.repository.docker.internal.DockerProxyFacetImpl - Could not parse error response Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: (org.apache.http.conn.EofSensorInputStream); line: 1, column: 2]
anonymous org.sonatype.nexus.repository.docker.internal.V2Handlers - Error: GET /v2/nvidia/cuda/manifests/10.0-base-ubuntu18.04: 401 - org.sonatype.nexus.repository.docker.internal.V2Exception: access to the requested resource is not authorized

I think I’ve missconfigured something but what?
Anyone have tried to make an anonymous proxy for nvcr?

Thanks

Hi,

Were you able to fix this? I am currently experiencing the same thing right now.

any solution or lead?