Tensorrt error docker deepstream5

Hi,

I have pulled the deepstream5 samples image for jetson nvcr.io/nvidia/deepstream-l4t:5.0-dp-20.04-base and when testing if deepstream-app runs smoothly

deepstream-app -c /opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app/source6_csi_dec_infer_resnet_int8.txt

I get the following error:
error while loading shared libraries: libnvinfer.so.7: cannot open shared object file: No such file or directory

I tried to search for libnvinfer within the container and its not available, how to install tensorrt within the container on the jetson

Thanks,

Try running the docker container with --gpus all or --runtime nvidia flag and make sure tensorrt is installed on JetPack.

Thanks @hwky that solved my problem, I thought by default on the jetson devices docker utilizes the gpu

1 Like