Please use /opt/nvidia/deepstream/deepstream/user_additional_install.sh to install the gstreamer plugin.
These plugins have been packaged into the docker image, but due to GPL reasons, some shared libraries have been deleted, so you need to run the above script