Hi,
Just one final note:
Indeed /dev/nvhost-msenc was missing in my docker.
On the host computer (Jetson Nano) it is existing… I was using the docker activation command as stated in this document:
https://ngc.nvidia.com/catalog/containers/nvidia:deepstream-l4t
The solution is to add --device /dev/nvhost-msenc into that command.
sudo docker run <b>--device /dev/nvhost-msenc</b> -it --rm --net=host --runtime nvidia -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/deepstream-l4t:4.0.1-19.09-samples