Can not push a Docker image to ngc registry

Hi *,
I am trying to cross compile my jetson-agx (Aarch64) Docker images from an amd64 environment , pushing them to the ngc registry and later pulling them (i.e. the images ) to the AGX.

I have successfully :
a) created an account i.e. dkalog (dkalo@noc.ntua.gr)
b) configured nvidia-api-key
c) verified that it works (allows me to docker pull images)
d) cross compile images for aarch64 on the X86 architecture.
e) I have downloaded and configured ngc-cli utility

So when I try to push an image :

$ ./ngc registry image push nvcr.io/dkalog/crossjet:v1.0
Logging in to https://nvcr.io… login successful.
The push refers to repository [nvcr.io/dkalog/crossjet]
87426efcbdce: Preparing
5f70bf18a086: Preparing
b7e55965e85b: Preparing
417cc0c50900: Preparing
e1fd9ba115c8: Preparing
667d8ba35b99: Waiting
348b51347d4a: Waiting
75cba8ec3b72: Waiting
eeb0ed548806: Waiting
baf6b17d9019: Waiting
cbc96621f028: Waiting
3795dbf4b069: Waiting
c31058377c53: Waiting
ddbc92c84d18: Waiting
63ce9cc5d29d: Waiting
dd7794f7680a: Waiting
f86d9c23a7bc: Waiting
ca2bb9fb7b15: Waiting
df97c278a456: Waiting
7d4db6d2d6ce: Waiting
3191374f5ec9: Waiting
77443a2b9127: Waiting
0508c3b8ab4d: Waiting
ce530e7c555f: Waiting
ec1ff79c26dd: Waiting
denied: requested access to the resource is denied

when running this with --debug the last line expanded with the following info…

Docker push stream: {‘errorDetail’: {‘message’: ‘denied: requested access to the resource is denied’}, ‘error’: ‘denied: requested access to the resource is denied’}
denied: requested access to the resource is denied
denied: requested access to the resource is denied
Traceback (most recent call last):
File “ngccli/ngc.py”, line 141, in main
File “ngcbpc/tracing.py”, line 167, in wrapper_span
File “ngcbpc/command/clicommand.py”, line 216, in traced_func
File “registry/command/image.py”, line 493, in push
File “registry/command/image.py”, line 578, in _push_image
File “registry/command/image.py”, line 565, in _push_image
File “registry/printer/image.py”, line 226, in print_image_push_stream
ngcbpc.errors.NgcException: denied: requested access to the resource is denied
Command: ngc --debug registry image push nvcr.io/dkalog/crossjet:v1.0

1 Like