This is what I got after running gst-inspect-1.0 nvinfer (running docker image)
root@c06b1ded48e9:/opt/nvidia/deepstream/deepstream-6.2# gst-inspect-1.0 nvinfer
(gst-plugin-scanner:10): GStreamer-WARNING **: 04:37:24.245: 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
(gst-plugin-scanner:10): GStreamer-WARNING **: 04:37:25.663: 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
(gst-plugin-scanner:10): GStreamer-WARNING **: 04:37:26.220: 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
(gst-plugin-scanner:10): GStreamer-WARNING **: 04:37:26.514: 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
(gst-plugin-scanner:10): GStreamer-WARNING **: 04:37:26.714: 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
(gst-plugin-scanner:10): GStreamer-WARNING **: 04:37:26.982: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_ucx.so’: libucs.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 04:37:26.991: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so’: libtritonserver.so: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 04:40:28.018: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so’: /usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so: undefined symbol: cuGraphicsEGLRegisterImage
(gst-plugin-scanner:10): GStreamer-WARNING **: 04:40:28.044: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so’: librivermax.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 04:40:28.048: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_preprocess.so’: /usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_preprocess.so: undefined symbol: cuGraphicsEGLRegisterImage
(gst-plugin-scanner:10): GStreamer-WARNING **: 04:40:28.799: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_deepstream_bins.so’: /usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so: undefined symbol: cuGraphicsEGLRegisterImage
No such element or plugin ‘nvinfer’