I have an application which works fine ‘bare-metal’ on the Nano, but when I want to containerize it via Docker some dependencies (opencv & tensorrt) are not available.
My starting point is the l4t base image which I want to use to bring all thing I need up.
I read about the nvidia-docker plugins (https://github.com/NVIDIA/libnvidia-container/blob/jetson/design/mount_plugins.md) which will get mounted when the corresponding .csv file is at
/etc/nvidia-container-runtime/host-files-for-container.d, but I’m struggling to get all the dependencies running for opencv.
Furthermore I can see a tensorrt.csv file there, but TRT doesn’t work for either Python2.7 nor 3.6.
Nevertheless CUDA is available and when I try the .deviceQuery sample that seems to work fine
So my question basically is here how to get OpenCV running there and maybe a more detailed instruction how those .csv files should look like.
Any help is appreciated :-)