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] 1 points 2 days ago* (last edited 2 days ago)

LXCs are more an alternative to VMs if your use-case supports it.

Docker is its own thing with pre-made application images.

VMs barely use more resources than LXC, debian minimal probably needs another 50MB of RAM in a VM vs LXC and that's about the only difference. It matters at scale but for home use it really doesn't IMO.

That said LXC has some benefits over a VM of being able to pass through mounts and parts of devices, those can be useful for Frigate where you want to use Intel Quicksync or OpenVINO and still share it with the host and other containers, because you can't do that on a VM unless you have a device you can dedicate to the VM only. You can also bind mount a directory on the host to a directory inside the container which is useful for sharing files between multiple containers.