Issue with Running Application in Docker Container deepstream 7.0

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GPU rtx a4000
• DeepStream Version 7.0
• JetPack Version (valid for Jetson only)
• TensorRT Version 8.6.1.6-1+cuda12.0
• NVIDIA GPU Driver Version (valid for GPU only) 535.161.08
• Issue Type( questions, new requirements, bugs) questions
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

container_builder build -c ds_test1_container_builder_dgpu.yaml -d x86 -wd opt/nvidia/deepstream/deepstream/reference_graphs/deepstream-test1/
xhost +
docker run  --gpus all  -v /tmp/.X11-unix:/tmp/.X11-unix deepstream_test1_dgpu

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Hi everyone,

I’m trying to run my application in a Docker container but I’m encountering an issue when the container tries to set the playback state (PLAYING) for the GStreamer pipeline. As a result, I’m getting an error.

Here’s a part of the output:

docker run  --gpus all  -v /tmp/.X11-unix:/tmp/.X11-unix deepstream_test1_dgpu

(gst-plugin-scanner:7): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.1: cannot open shared object file: No such file or directory

... (other error messages)

**ERROR extensions/nvdsbase/nvds_scheduler.cpp@184: Failed to set GStreamer pipeline to PLAYING**

I’ve ensured that all the necessary resources are available and properly configured in my Docker container, but I’m still encountering this issue.

I would appreciate any suggestions or tips on how to resolve this problem.

Thanks in advance!

Try the following command line to start docker, May some parameters is missing.

docker run --gpus all -it --rm --net=host --privileged -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-7.0 nvcr.io/nvidia/deepstream:7.0-gc-triton-devel

I am trying to launch a configured image, not a standard one.

You can try to launch it in the standard image first to see if it can work normally.

In addition, is there any difference between your image and the standard image?