Installing Prometheus on a new server, I was a a bit confused that there seemed to be no good documentation on the main site for using it via Docker. There were also no instructions for running it via a custom PPA or someting, and the default pacakges installed via the package manager was a bit ouf of date?
What to do?
At first I tried running it via Docker, but then gave up, thinking it would be too much hassle to get the node exporter to access the host system for the metrics to be reported. There are various Googlejuice pages on manually installing and configuring a node, so this is what I did to start. But this still didn't 'feel' right.
So I asked around on Twitter, and got some very useful tips. The crucial one on running a node exporter in a container from Raffaele was actually the missing puzzle piece, and from there I could complete my setup. Thanks all!
So sharing it here as a complete setup, maybe someone else finds it useful. Might be good to post it upstream on the Prometheus site.