Docker container for zoneminder v1.30.2
"ZoneMinder the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications, including commercial or home CCTV, theft prevention and child, family member or home monitoring and other domestic care scenarios such as nanny cam installations. It supports capture, analysis, recording, and monitoring of video data coming from one or more video or network cameras attached to a Linux system. ZoneMinder also support web and semi-automatic control of Pan/Tilt/Zoom cameras using a variety of protocols. It is suitable for use as a DIY home video security system and for commercial or professional video security and surveillance. It can also be integrated into a home automation system via X.10 or other protocols. If you're looking for a low cost CCTV system or a more flexible alternative to cheap DVR systems then why not give ZoneMinder a try?"
To install docker in Ubuntu 16.04 use the commands:
$ sudo apt-get update $ wget -qO- https://get.docker.com/ | sh
To install docker in other operating systems check docker online documentation
To run container use the command below:
$ docker run -d --shm-size=4096m -p 80 quantumobject/docker-zoneminder
** --shm-size=4096m ==> work only after docker version 1.10
Accessing the Zoneminder applications:
After that check with your browser at addresses plus the port assigned by docker:
Them log in with login/password : admin/admin , Please change password right away and check on-line documentation to configure zoneminder.
note: ffmpeg was added and path for it is /usr/bin/ffmpeg if needed for configuration at options .
For live view via the web UI to work, you need to edit config -> paths, and change:
"/cgi-bin/nph-zms" to "/zm/cgi-bin/nph-zms"
and if you change System=> "Authenticate user logins to ZoneMinder" you at this moment need to change "Method used to relay authentication information " to "None" if this not done you will be unable to see live view. This only recommended if you are using https to protect password(This relate to a misconfiguration or problem with this container still trying to find a better solutions).
if timeline fail please check TimeZone at php.ini is the correct one for your server( default is America/New York).
To access the container from the server that the container is running :
$ docker exec -it container_id /bin/bash
About zoneminder www.zoneminder.com
To help improve this container quantumobject/docker-zoneminder
For additional info about us and our projects check our site www.quantumobject.org
The readme says this is 1.30.2 but when I installed it I got 1.29.1
I get a 404 when I go to ip/zm here are my logs:
Starting pre-service scritps in /etc/my_init.d
starting rc.local scritps
23:23:00 Running: /etc/rc.local
Booting runit daemon...
Process runsvdir running with PID 227
ok: run: mysqld: (pid 238) 0s
/usr/sbin/apache2ctl: line 87: ulimit: open files: cannot modify limit: Operation not permitted
Setting ulimit failed. See README.Debian for more information.
170306 23:23:01 mysqld_safe Logging to '/var/log/mysql/error.log'.
170306 23:23:01 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Could you let me know where I am going wrong?
can someone please help me to correctly install and run zoneminder on synology DSM 6.0 DSM
Hey, thanks for this :) I note that for live view via the web UI to work, you need to edit config -> paths, and change:
Working now .. please let me know of any problem with it at https://github.com/QuantumObject/docker-zoneminder
to get it working with a local web cam like this
“docker run -d -p 22 -p 80 –device /dev/video0 quantumobject/docker-zoneminder”
At-least on my end, this doesn't work. Initially you have some permission problems on
/var/run/zm is permissioned incorrectly (root:root, www-data doesn't have write access, required for socket as of /usr/bin/zmdc.pl line 54), after that I continued getting more issues spewed by incorrect process configuration (Such as
Shared data not initialised by capture daemon (zmc isn't running)). I have to assume this is a direct issue of this docker file, as directly from the Ubuntu repos it works fine.