joewaa / rpi-motion

Docker image for running a motion detect webcam

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker image for motion camera on Raspberry Pi

This runs a motion-detecting camera connected to a Raspberry Pi. The videos are saved into a folder on the host machine (i.e. outside of the Docker container), and can be streamed over the network too.

Building the image

docker build . -t lazyatom/rpi-motion

Running

If you're happy with the defaults, you can run this using the included script:

./run.sh

This will connect to a webcam via /dev/video0, create and mount the video directory in a directory called videos within the current cdirectory, and start running as a daemon.

If you need anything more customized, then you can use the commands inside run.sh as the basis for that.

About

Docker image for running a motion detect webcam


Languages

Language:Shell 100.0%