Quick question here : Is it better to run NUT server in a container or VM on Proxmox or simply run it on the host?
THX :)
Submitted 2 days ago by foremanguy92_@lemmy.ml to selfhosted@lemmy.world
Quick question here : Is it better to run NUT server in a container or VM on Proxmox or simply run it on the host?
THX :)
just_another_person@lemmy.world 2 days ago
Host. There’s no benefit to running it in a container, and there’s all the problems with running it in a container.
foremanguy92_@lemmy.ml 2 days ago
Thx
sugar_in_your_tea@sh.itjust.works 2 days ago
What problems?
A VM certainly seems like overkill, but a simple podman container should be pretty problem-free.
Dust0741@lemmy.world 2 days ago
It should be yea. Just make sure you pass the USB through (or whatever connection method)
I’ve had success using the normal apt package
just_another_person@lemmy.world 2 days ago
Containers are an abstraction on top of the OS and hardware that directly communicates with the UPS versus the bare device access needed to communicate via host.
So then you have to run a privileged container for exclusive access to a specific HID port, map said port, and then hope that every OS update you do for whatever your particular container runtime doesnt causes disruptions or comms issues to trigger events on the UPS itself.
Or…just run it on the host and only worry about the NUT server itself. Also to be frank, I don’t imagine that NUT utils in themselves are very container fluid or aware because…why?
I honestly hate that people have become so null to the argument that host things are better at host things. Software that uses direct port access has absolutely no reason to run in a container UNLESS you have no other option. People using containers as default just cuz is bad practice. They have a place and purpose, and this isn’t one of them if host is an option.