Skip to content

jwater7/docker-motion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

docker-motion

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

Setup

See the Motion Guide for information about setting up the motion config file.

Usage

This container uses docker volumes to set up motion and control motion's behavior.

Configuration:

Volume Description
/etc/motion This is the default configuration directory for motion.conf

Command Line

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

docker-compose

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

About

Motion implemented in docker container

Resources

Stars

Watchers

Forks

Packages

No packages published