Public | Automated Build

Last pushed: 4 months ago
Short Description
Docker container for Zoneminder
Full Description

docker-zoneminder

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?"

Install dependencies

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

Usage

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

More Info

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

Docker Pull Command
Owner
quantumobject
Source Repository

Comments (9)
jacobalberty
5 months ago

The readme says this is 1.30.2 but when I installed it I got 1.29.1

uiguy
5 months ago

Hi,

I get a 404 when I go to ip/zm here are my logs:

Starting pre-service scritps in /etc/my_init.d
stdout
23:23:00
Running: /etc/my_init.d/startup.sh
stderr
23:23:00
starting rc.local scritps
stdout
23:23:00
Running: /etc/rc.local
stderr
23:23:00
Booting runit daemon...
stdout
23:23:00
Process runsvdir running with PID 227
stdout
23:23:00
ok: run: mysqld: (pid 238) 0s
stdout
23:23:01
/usr/sbin/apache2ctl: line 87: ulimit: open files: cannot modify limit: Operation not permitted
stdout
23:23:01
Setting ulimit failed. See README.Debian for more information.
stdout
23:23:01
170306 23:23:01 mysqld_safe Logging to '/var/log/mysql/error.log'.
stdout
23:23:01
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?

angelrr7702
a year ago

I update to the last version 1.29.1 , the problem with monitor fixed , please let me know of any problem at https://github.com/QuantumObject/docker-zoneminder.

seeravinder
a year ago

can someone please help me to correctly install and run zoneminder on synology DSM 6.0 DSM

angelrr7702
2 years ago

I update to the last version 1.29.00 that support API interface,, please let me know of any problem at https://github.com/QuantumObject/docker-zoneminder

funkypenguin
2 years ago

Hey, thanks for this :) I note that 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"

angelrr7702
2 years ago

I update to the last version 1.28.107 that support API interface,, please let me know of any problem at https://github.com/QuantumObject/docker-zoneminder

angelrr7702
3 years ago

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”

enthusiasticdolphin
3 years ago

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.