Coder Social home page Coder Social logo

motion-docker's Issues

Memory usage

I run this image on a home kubernetes cluster with container cpu and memory monitoring, and it appears that this image has uncontrolled memory growth. I have just 2 IP cameras over rtsp.

Would this question go here or in the motion repository?

Motion on docker hub

The motion project really needs an official Docker image (such as motion/motion:latest). I’ve been running it successfully in one for a while now, but I think it would be prudent to start that conversation and maybe start releasing them after each release cycle as a supported platform (which may at some point imply design considerations for the future of the project).

I have a very bare-bones example at https://hub.docker.com/r/jwater7/motion/ (https://github.com/jwater7/docker-motion) if you’d like to take a look. I would suggest installing from source and using an alpine base for the official one though.

Adding MQTT

More of a new feature request than an issue
I use the docker image and I post a message to MQTT when an even is detected:

on_event_start mosquitto_pub -h 192.168.0.24 -p 1883 -u xx -P yyy -t Sensors/CCTV2/Doorbell/Motion -q 1 -m ON -r
on_event_end mosquitto_pub -h 192.168.0.24 -p 1883 -u xx -P yyy -t Sensors/CCTV2/Doorbell/Motion -q 1 -m OFF -r

MQTT is not included with motion by default.
could it be added for interoperability with other systems?
If not is there a way to install MQTT first and then run motion without having to manually build my own dockerfile?

Can't stop the container?

Just trying the docker container on a fresh Ubuntu 18.04 install to get motion up and running.
Doc is sparse but I've used motion for a few years so was hoping it'd be a smooth transfer.
while testing I needed to restart the container to restart motion.
I'm getting this message whether I try docker restart motion or docker-compose down:

cctv@cctv:~/Docker/motion$ docker-compose down && docker-compose up -d
Stopping motion ... error

ERROR: for motion  cannot stop container: 7a884c29eec903776054ed7baea2105301e5e249df75625067f280d3798b9ddb: Cannot kill container 7a884c29eec903776054ed7baea2105301e5e249df75625067f280d3798b9ddb: unknown error after kill: docker-runc did not terminate sucessfully: container_linux.go:393: signaling init process caused "permission denied"
: unknown
Removing network motion_default
ERROR: network motion_default id c3decee07a971c15abadeb6da069487f3112d3230c0804bca9e6e4c4262f7039 has active endpoints

Any idea?

No database support?

The readme says that the database features are not supported. Why is this and would it be possible to add them?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.