Results 1 to 1 of 1

Thread: How to install Zoneminder-1.36.0-focal1, on UBUNTU 20.04 LTS ( Focal Fossa) Using a D

  1. #1
    Join Date
    Jul 2015

    How to install Zoneminder-1.36.0-focal1, on UBUNTU 20.04 LTS ( Focal Fossa) Using a D

    In this tutorial ,we are going to use “Docker: Enterprise Container Platform” ( on Ubuntu 20.04 LTS ( Focal Fossa)

    Installation of Docker on Ubuntu 20.04 LTS ( Focal Fossa )

    On the Ubuntu terminal

    sudo apt install
    zoneminder-1.34 ,docker images with php 7.4 ,Mysql 8 & MSMTP

    This image has been created on ubuntu:focal with zoneminder-1.36.0-focal1

    To pull the Repository from the Docker Hub please refer the following link

    Usage :

    To create a zoneminder-1.34 docker container (name zm)with php 7.4 ,mysql 8 & msmtp

    On the Ubuntu terminal enter the following commands

    sudo docker create -t -p 8080:80 --name zm --privileged=true -e TZ=Asia/Colombo bkjaya1952/docker-zoneminder-php7.4-mysql8:latest
    Note:- Replace Asia/Colombo with your Time Zone

    sudo docker start zm
    (You will have to configure the running zm container for mysql 8 ,zm data base and make some changes to start apache and zoneminder during the first run .)

    sudo docker exec -t -i zm /bin/bash
    (Now you will be with in the zm container. Make changes as follows)

    Configuring Mysql

    sudo docker restart zm


    (To use msmtp for emailing please refer

    Note:- If you want your docker container zm to detect ip camera automatically, you will have to use the following command when creating the container .

    sudo docker create -t -p 80:80 --name zm --network=host --privileged=true -e TZ=Asia/Colombo bkjaya1952/docker-zoneminder-php7.4-mysql8:latest
    In this case you will have to restrain in using the port 80 in your host for any other purpose when running the zm container.

    Then the zoneminder web panel will be at http://localhost/zm/

    Figure:- ZM Console after adding USB Cameara
    Last edited by bkjaya1952; May 16th, 2021 at 06:26 AM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts