Issue in Docker container after running application

I am able to run deepstream_test1 inside the docker container successfully once. But if i run it a second time, it gets stuck at “Creating Source” .
The logs look like this
python3:245): GStreamer-WARNING **: 06:03:22.185: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.

(python3:245): GStreamer-WARNING **: 06:03:22.188: 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

(python3:245): GStreamer-WARNING **: 06:03:22.189: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstopenmpt.so’: libmpg123.so.0: cannot open shared object file: No such file or directory

(python3:245): GStreamer-WARNING **: 06:03:22.191: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstchromaprint.so’: libavcodec.so.58: cannot open shared object file: No such file or directory

(python3:245): GStreamer-WARNING **: 06:03:22.191: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpeg2dec.so’: libmpeg2.so.0: cannot open shared object file: No such file or directory

(python3:245): GStreamer-WARNING **: 06:03:22.192: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpeg2enc.so’: libmpeg2encpp-2.1.so.0: cannot open shared object file: No such file or directory

(python3:245): GStreamer-WARNING **: 06:03:22.192: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpg123.so’: libmpg123.so.0: cannot open shared object file: No such file or directory
Creating Pipeline

Creating Source

If i kill the container and create a new one, the script again works but only once.

Please provide complete information as applicable to your setup. Thanks
Hardware Platform (Jetson / GPU)
DeepStream Version
JetPack Version (valid for Jetson only)
TensorRT Version
NVIDIA GPU Driver Version (valid for GPU only)
Issue Type( questions, new requirements, bugs)
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)
Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Docker image used - nvcr.io/nvidia/deepstream:6.4-gc-triton-devel
tensorrt version in docker image
tensorrt-dev 8.6.1.6-1+cuda12.0 amd64 Meta package for TensorRT development libraries

cuda version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Tue_Jul_11_02:20:44_PDT_2023
Cuda compilation tools, release 12.2, V12.2.128
Build cuda_12.2.r12.2/compiler.33053471_0

to reproduce just run the deepstream-test1 application . I have used fakesink since i was getting error without that

the cuda version in the system otuside docker is
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Tue_May__3_18:49:52_PDT_2022
Cuda compilation tools, release 11.7, V11.7.64
Build cuda_11.7.r11.7/compiler.31294372_0

its working fine now as i downgraded to deepstream 6.1 docker image

The CUDA and Driver are mapped to the host. So if you use the DeepStream 6.4, you need to upgrade the driver on the host to R535.104.12 as dGPU model Platform and OS Compatibility suggested.

yeah instead i just downgraded the deep steam version