The docker container was created with the --privileged flag and has the /dev, /proc and /sys folders mounted from the host TX2 board, so the docker container has the ‘nvhost…’ devices such as ‘nvhost-gpu’.
However when I run the GStreamer pipeline which uses the ‘nvcamerasrc’ element I get ‘Connecting to camera_daemon failed’. Error message:
ERROR nvcamerasrc gstnvcamerasrc.cpp:2411:gst_nvcamera_socket_connect:<camera_src> Connecting to camera_daemon failed
I manually copied the actual ‘nvcamera-daemon’ and ‘nvcamera-daemon.service’ files from usr/sbin and etc/systemd/system on the host to the same places in the container but this has not made a difference.
So I’m just trying to use the nvcamera-daemon service (the nvcamerasrc requires this) from a docker container on the TX2 board rather than directly on the board. Has anyone had success with Tegra-docker GitHub - Technica-Corporation/Tegra-Docker: Instructions and key files to enable Docker support on NVIDIA Tegra devices, specifically the TX-2. or another method of doing this, perhaps that doesn’t require Cuda?
Thanks
Milan