Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8026

Camera board • Re: Running rpicam inside Docker on Raspberry Pi

$
0
0
I fixed it myself and it is working. This is the background and solution.

On Raspberry Pi 4/5 with libcamera, buffer allocation is done via the Linux dma_heap framework (/dev/dma_heap/system, /dev/dma_heap/linux,cma, etc).
These device nodes have been missing inside my container.

Correct docker parameters:

Code:

docker run --rm -it \  --network=host \  --privileged \  --tmpfs /dev/shm:exec \  -v /usr:/usr:ro \  -v /run/udev:/run/udev:ro \  -v /lib:/lib:ro \  -v /dev:/dev \  -e RTSP_PATHS_CAM_SOURCE=rpiCamera \  rpicam-apps:latest bash

Statistics: Posted by gftrobots — Mon Aug 18, 2025 5:21 pm



Viewing all articles
Browse latest Browse all 8026

Trending Articles