How to install Zoneminder-1.36-focal1, on UBUNTU 20.04 LTS ( Focal Fossa) Using a Docker image
May 15, 2021 B.K.Jayasundera
In this tutorial ,we are going to use “Docker: Enterprise Container Platform” (docker.io) on Ubuntu 20.04 LTS ( Focal Fossa)
First
Installation of Docker on Ubuntu 20.04 LTS ( Focal Fossa )
On the Ubuntu terminal
sudo apt install docker.io
zoneminder-1.36 ,docker images with php 7.4 ,Mysql 8 & MSMTP
This image has been created on ubuntu:focal with zoneminder-1.36-focal1
To pull the Repository from the Docker Hub please refer the following link
Docker Hub
Usage :
To create a zoneminder-1.36 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 )
updatemysql.sh
exit
sudo docker restart zm
(To use msmtp for emailing please refer How to install the Zoneminder master latest on Ubuntu 20.04 using a docker image)
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

Figure:- ZM Console after adding USB Cameara
Note:- Please refer the following link
bkjaya.wordpress.com
May 15, 2021 B.K.Jayasundera
In this tutorial ,we are going to use “Docker: Enterprise Container Platform” (docker.io) on Ubuntu 20.04 LTS ( Focal Fossa)
First
Installation of Docker on Ubuntu 20.04 LTS ( Focal Fossa )
On the Ubuntu terminal
sudo apt install docker.io
zoneminder-1.36 ,docker images with php 7.4 ,Mysql 8 & MSMTP
This image has been created on ubuntu:focal with zoneminder-1.36-focal1
To pull the Repository from the Docker Hub please refer the following link
Docker Hub
Usage :
To create a zoneminder-1.36 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 )
updatemysql.sh
exit
sudo docker restart zm
(To use msmtp for emailing please refer How to install the Zoneminder master latest on Ubuntu 20.04 using a docker image)
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

Figure:- ZM Console after adding USB Cameara
Note:- Please refer the following link
How to install Zoneminder-1.36-focal1, on UBUNTU 20.04 LTS ( Focal Fossa) Using a Docker image
In this tutorial ,we are going to use “Docker: Enterprise Container Platform” (docker.io) on Ubuntu 20.04 LTS ( Focal Fossa) First Installation of Docker on Ubuntu 20.04 LTS ( Focal Fossa ) O…