Docker container with CUDA, CUDNN, OPENCV installed on Jetson Xavier

Hi guys,

Is there any nvidia docker image avaliable so far for Jetson Xavier and have CUDA, CUDNN, OPENCV installed already?
I’m trying to run some object detection task in docker container on Xavier, but I can’t find a suitable container image.
Or how can I install CUDA, CUDNN and OPENCV in a clean docker image based on nvcr.io/nvidia/l4t-base:r32.3.1?

Thanks very much for every suggestion.

I’ve tried to share cudnn.h with docker volume, but inside docker container it will become an empty file. I don’t understand why.

I am also trying to build OpenCV with CUDA and CuDNN in docker environment on Jetson Nano based on nvcr.io/nvidia/l4t-ml:r32.4.4-py3. But it was not built. I got this error.
Can anyone from Nvidia help us with the issue?

/usr/lib/aarch64-linux-gnu/libcublas.so: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libopencv_cudev.so.4.5.0] Error 1
modules/cudev/CMakeFiles/opencv_cudev.dir/build.make:95: recipe for target 'lib/libopencv_cudev.so.4.5.0' failed
CMakeFiles/Makefile2:2962: recipe for target 'modules/cudev/CMakeFiles/opencv_cudev.dir/all' failed
make[1]: *** [modules/cudev/CMakeFiles/opencv_cudev.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
Make did not successfully build