this post was submitted on 18 May 2025
5 points (85.7% liked)

Selfhosted

46685 readers
333 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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 are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 4 days ago (1 children)

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.

[–] [email protected] 1 points 2 days ago (1 children)

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 ...

[–] [email protected] 1 points 2 days ago

Docker seems to have gained more ground than 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.