Jetpack 5.0.1 DP, 16GB NX, jetson-containers docker unauthorized

I am trying to build jetson-containers (from github:dusty-nv/jetson-containers) on an NX 16GB, freshly installed with Jetpack 5.0.1 DP.
I have seen the advice to run ./scripts/ first but at step 2/19 I get “unauthorized: authenticationrequired”.
I have set docker default runtime to nvidia.
I have obtained and added to docker login NGC API key against $oauthtoken username (and this works as I now have ability to pull e.g. “”)
I am suspicious that this script is pulling from “” - if I try this directly outside of the script I get the same error. Do I need additional permissions for this or does it need making more freely available?


It works after commenting out an input argument.
Would you mind also giving it a try?

diff --git a/scripts/ b/scripts/
index 845b317..feee220 100755
--- a/scripts/
+++ b/scripts/
@@ -90,7 +90,7 @@ build_jetpack()
        echo ""

        sh ./scripts/ $container_tag Dockerfile.jetpack \
-                       --build-arg BASE_IMAGE=$base_image \
+               #--build-arg BASE_IMAGE=$base_image \
                        --build-arg OPENCV_URL=$OPENCV_URL \
                        --build-arg OPENCV_DEB=$OPENCV_DEB

@dusty_nv Please also share your comment here.

Thanks, agree commenting that line out has got it to work.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.