Don't forget to enable the raspberry camera
sudo raspi-config
This tutorial is using a modified version of Calin Crisan docker file :
I recommend you to read his Wiki about how to configure MotionEye for more information
- Create the following folder (adapt with your linux home)
mkdir -p /home/fred/applications/motioneye
mkdir -p /home/fred/applications/motioneye/conf
mkdir -p /home/fred/applications/motioneye/data
cd /home/fred/applications/motioneye
- Git clone this repository
git clone https://github.com/fguiet/motioneye-docker.git
- Git clone ccrisan motioneye repository
git clone -b dev https://github.com/ccrisan/motioneye.git
- Enter project folder, build the docker image and have a cup of coffe (or two..or three...)
cd motioneye
docker build --build-arg VCS_REF=$(git rev-parse HEAD) --build-arg BUILD_DATE=$(date +"%Y-%m-%dT%H:%M:%SZ") -t guiet/motioneye:v1 -f /home/fred/applications/motioneye/motioneye-docker/Docker/motioneye_dockerfile .
- Run docker motioneye
cd /home/fred/applications/motioneye/motioneye-docker/Docker
chmod u+x motioneye_dockerrun
./motioneye_dockerrun
- Open your favorite browser...wait for motioneye to be ready and enjoy !
http://your_raspberry_zero_ip:8765/