I was able to run the simple pipeline with below run command
docker run --cap-add=SYS_PTRACE --runtime=nvidia -it -e DISPLAY=$DISPLAY --privileged --volume /tmp/.X11-unix:/tmp/.X11-unix --net=host -e NVIDIA_VISIBLE_DEVICES=all -v $HOME/.Xauthority:/root/.Xauthority -e NVIDIA_DRIVER_CAPABILITIES=compute,utility,graphics nvcr.io/nvidia/deepstream:4.0.2-19.12-devel bash
and pipeline command modified as below
gst-launch-1.0 videotestsrc ! videoconvert ! nveglglessink
Thanks @Fiona.Chen for helping me out
One more query
I see the docker image size of deepstream-5 much higher than that of deepstream-4 (more than double for both base and devel versions) Is there any reason for that (pls see Fig below)
