Sign inSign up

jwater7/motion

By jwater7

•Updated about 8 years ago

Motion implemented in docker container

Image
4

10K+

jwater7/motion repository overview

⁠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:
VolumeDescription
/etc/motionThis 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

Tag summary

Content type

Image

Digest

Size

73.3 MB

Last updated

about 8 years ago

docker pull jwater7/motion