Hi,
I’m trying to use the image nvcr.io/nvidia/jetpack-linux-aarch64-crosscompile-x86:5.0.2 as a base image for my custom image in Docker. In other words, in my Dockerfile I am doing the following:
FROM nvcr.io/nvidia/jetpack-linux-aarch64-crosscompile-x86:5.0.2
However, after about 25 minutes of pulling this image (the pulling seems fine until then), it stops abruptly after about 70-80% of being complete every time I try to build with this error:
#4 ERROR: failed to copy: httpReadSeeker: failed open: failed to authorize: failed to fetch anonymous token: unexpected status: 401 Unauthorized
This error seems to indicate some kind of rate limit for pulling images on the nvcr.io registry while being an anonymous user trying to pull from this registry. However, I am only getting this error while building my image from this Dockerfile on my Jenkins agent. In other words, if I am trying to build the image from this Dockerfile myself on my local computer, everything builds correctly, but when I try to build this inside a Jenkins pipeline, it fails like I described earlier.
Does anyone know why this error only happens whilst trying to build inside a Jenkins pipeline, and if so, what could be a potential fix?