How to use Onboard camera and realsense camera in l4t-base docker,

I can use gstreamer and opencv run onboard camera in nx ,but in l4t-base docker, gstreamer can not find “nvarguscamerasrc” and “nvcamerasrc” .also ,in l4t-base, I cannot run realsense camera .

You may try to bind /tmp/argus_socket such as:

docker run --runtime nvidia  -v /tmp/argus_socket:/tmp/argus_socket ...
1 Like

extended example

xhost +
docker run -it --rm --net=host --runtime nvidia -e DISPLAY=$DISPLAY --privileged --ipc=host -v /tmp/.X11-unix/:/tmp/.X11-unix/ -v /tmp/argus_socket:/tmp/argus_socket --cap-add SYS_PTRACE 

the privileged argument should be avoided though

It solved my problem!Thank you!