The way you wrote this and your previous comment above led me to believe your account is new. I checked it, 74 days at time of writing. I get the impression you haven't read the guidelines here. I like this place as it is generally civil discourse and have no qualms being the person that points you to the "In Comments" section of the guidelines.
https://news.ycombinator.com/newsguidelines.html
Be kind, rewind.
LOL, docker for running mosquitto at home? Who does that?
I did.
It was convenient. The official docker image includes all the tools you need.
Overkill? Sure. It sips memory and compute, but when most everything else is in docker, what is wrong with one more container.
I did a write-up here:
https://github.com/NortySpock/selfhosted-show-wiki/blob/bca6...
(Eventually I did switch over to NATS emulating an MQTT endpoint so I could get a broker with Prometheus-scrapeable `/metrics` endpoint )
Are you recommending that I run mosquitto directly on my Unraid server rather than Docker?
Just to re-iterate, Unraid is a proprietary Linux OS based on Slackware Linux. It is generally ill-advised to ever run tooling directly on Unraid when a Dockerized equivalent is available.
Docker is effectively just a packaging format on Linux - it's not a VM (unlike on Windows/Mac where running Docker involves running a hidden Linux VM on which containers are scheduled). So I don't see why you wouldn't use it if it makes things easier (like not having to worry about distro specifics, since there is generally one canonical Docker image for major pieces of software)?
mqtt? How many Docker containers do you have running to track UPS voltage?
I keep forgetting SNMP is not "web scale" and only for greybeards on a minimum of 3+ prescription medications.