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/docker_build_jetpack.sh 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. “nvcr.io/nvidia/l4t-pytorch:r34.1.0=pth1.12-py3”)
I am suspicious that this script is pulling from “nvcr.io/nvidian/nvidia-l4t-base:r34.1” - 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?
Hi,
It works after commenting out an input argument.
Would you mind also giving it a try?
diff --git a/scripts/docker_build_jetpack.sh b/scripts/docker_build_jetpack.sh
index 845b317..feee220 100755
--- a/scripts/docker_build_jetpack.sh
+++ b/scripts/docker_build_jetpack.sh
@@ -90,7 +90,7 @@ build_jetpack()
echo ""
sh ./scripts/docker_build.sh $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.
Thanks, agree commenting that line out has got it to work.