Just got my first security camera, a Hikvision multi focal 4MP. I got Proxmox up and running and installed Frigate through the community LXC repository on github. Most of the documentation is to first install Docker as LXC and then Frigate as a normal docker compose yml, where all the configuration is done. Now that I’ve skipped the docker bit, how do i config my camera on frigate? From reading the frigate website, i need access to config file. I also need to tell frigate to save all streaming on my Truenas that I’ve shared with Proxmox via a NFS share. Anyone have a similar setup? These LXC containers seem pretty cool as concept, as from what I understand, they’re similar to a bare metal install except the host shares its kernel and they bring the convienence of containerisation. Basically, LXC and Docker are similar in concept but with Docker you have the benefit of compose and portainer which are universal whereas LXC is part of Proxmox. Is that a fair summary?
You have a few questions here, which ones do you want answered?
To configure the camera, you should have defined it in the config. That you don’t know this means you should go back to the docs and read the setup section start to end.
I write my frigate clips to an NFS share. I mount it on the host and bind Mount the path in my container. You can also mount NFS directly in a container, but it comes with extra steps.
LXC is not a proxmox-specific thing. You can run lxc containers on almost any Linux and you can manage multiple containers with other software (lxd, incus, etc). At one time, docker was based on lxc, but both docker and lxc have evolved significantly since then.
LXC and docker are indeed similar, but one aims to provide an OS-level environment and the other simply a software environment.
Ah right. Docker seems to have gained more ground than LXC if its the first time I come across it. I hadn’t realised they were similar, especially after I discovered that people are running docker in LXC …
They aren’t really competing in the same space. LXC is more comparable to jails or openvz in that they provide an os layer, Docker does not.
I recently saw docker described in a web comic where some poor dev was bemoaning that his software “worked on his machine”, and his teacher says “then we’ll ship your machine”, meaning Docker sets up a software environment for a project to work, nothing more.
Docker was at first based on lxc, but has since moved to its own libcontainer.