Implements the Motion project in a docker container. Motion is a software motion detector that monitors the video signal from one or more cameras and is able to detect if a significant part of the picture has changed. It is developed in the Motion-Project at GitHub
See the Motion Guide for information about setting up the motion config file.
This container uses docker volumes to set up motion and control motion's behavior.
| Volume | Description |
|---|---|
| /etc/motion | This is the default configuration directory for motion.conf |
You can test it out like this:
sudo docker run --rm \
-v '/path/to/localconfig:/etc/motion' \
-it jwater7/motion
or run it in daemon mode:
sudo docker run -d --name=my-motion --restart=always \
-v '/path/to/localconfig:/etc/motion' \
jwater7/motion
A sample docker-compose:
my-motion:
image: jwater7/motion
container_name: my-motion
volumes:
- "/path/to/localconfig:/etc/motion"
environment:
- "TZ=America/Los_Angeles"
restart: always
Content type
Image
Digest
Size
73.3 MB
Last updated
about 8 years ago
docker pull jwater7/motion