How viewing GUI zoneminder ?

Support for the docker image maintained by dlandon
Post Reply
jepide
Posts: 18
Joined: Sun Nov 12, 2017 7:01 am

How viewing GUI zoneminder ?

Post by jepide »

Hello !
New in using docker
I made a fresh install of ubuntu 22.04 and Docker on a new disk.
With "https://github.com/dlandon/zoneminder.machine.learning" , I installed the zoneminder container.
Docker desktop shows me that the container is running.
Now I need to view the zoneminder console in firefox browser.
It is said: "To access the Zoneminder GUI, browse to: https://<your host ip>:8443/zm or http://<your host ip>:8080/zm if -p 8080:80/tcp is specified."
but I tried
https://localhost:8443/zm ; https//192.168.1.1:8443/zm ; http://192.168.1.1:8080/zm ; http with or without "s" ,nothing works.
https://localhost alone , or just https://192.168.1.1 do not work
It is also said "For http:// access use: -p 8080:80/tcp" but where to put this ?
Help me please.
Thanks in advance
SonopaalFounik
Posts: 4
Joined: Sat Oct 28, 2023 11:41 am

Re: How viewing GUI zoneminder ?

Post by SonopaalFounik »

Here are the steps to troubleshoot and access the console:

Check Container Port Mapping:

Use docker ps to list running containers and their ports:
Bash
docker ps

Look for the Zoneminder container and its exposed port(s).
If you don't see port 80 or 8443 mapped, you'll need to remap it.
Remap Ports (if necessary):

Stop the container:
Bash
docker stop <container_name_or_id>

Restart it with port mapping:
Bash
docker run -d -p 8080:80 -p 8443:443 <other_options> <image_name>

This maps port 8080 on your host to port 80 in the container, and port 8443 to port 443.
Access the Console:

Use the correct address and port:
For HTTP: http://<your_host_ip>:8080/zm
For HTTPS: https://<your_host_ip>:8443/zm
Replace <your_host_ip> with your actual host's IP address (not localhost).
Check Firewall:

Ensure ports 8080 and/or 8443 are open in your firewall.
You might need to temporarily disable the firewall for testing.
Post Reply