ZM with Docker : Change Video Storage Volume

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
ccody73
Posts: 1
Joined: Sun Aug 11, 2019 9:28 pm

ZM with Docker : Change Video Storage Volume

Post by ccody73 » Sun Aug 11, 2019 9:48 pm

Hello.
I am sorry if this has been asked repeatedly, but I cannot find anything posted in the forums.
What I have is:
ZoneMinder 1.32.3
which resides in a Docker container for Version 19.03.1, build 74b1e89
All of this running on a CentOS Linux release 7.6.1810 box
(I don't think that motherboard or CPU enter into this.

I have Zoneminder installed on a single drive and the Docker install set everything up nicely (yeah zm community!)
It is my understanding that there is a Docker Volume for /var/cache/zoneminder (the default location, Lots of GUID characters in the actual file name.
What I want to do is to redirect the Docker Volume so that I can store all of the camera data/event data/etc. to a separate directory. Actually, I have a completely different, physical, 4TB HDD that I want to use for data storage.
The Docker UI (Portainer actually) gives no option to redirect the Docker Volume to another drive or directory.
Attempting to fool it with a hard or soft link failed.
Is there a way to change where the volume used by docker. Thus redirecting camera and logging to the new drive and directory?

I would prefer to keep Zoneminder and docker on 1 drive and just data on the other.
[BTW I am a programmer by trade, so you can speak geek to me. I am, however, a real newbie with both Docker and Zoneminder.]

Thank you.

Baylink
Posts: 327
Joined: Sun Jun 19, 2005 3:19 am

Re: ZM with Docker : Change Video Storage Volume

Post by Baylink » Tue Aug 20, 2019 3:19 pm

Is your separate storage volume visible inside the container, and how did you make that be so?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest