I’ve been using RPI-Monitor from RPi-Experiences several years on all my Raspberry Pis. I think it is a great Web-UI to get a quick view of the overall system state of your Raspberry Pi:
On my way to put most of my Linux / RPi services into individual docker containers, I came across my RPi-Monitor installation. There were several images available on Docker Hub but they had either no DOCKERFILE published or they did not use the values and metrics from the actual docker host.
First of all, I’ll never ever use pre-built Docker images with no published DOCKERFILE – they can contain anything and I don’t want to investigate any images that I don’t trust.
Additionally, they were using the values (CPU load, Memory consumption, etc.) from the docker container itself. But I wanted to monitor my docker host / Raspberry Pi.
Therefore I decided to start from scratch and it was really tricky to get all the tools, volumes and devices inside the container. I accomplished most of that by mapping the host volumes into the container into a directory called /dockerhost. During the build phase I modify the RPi-Monitor HTML files to read the values not from the original location and use /dockerhost/* instead.
One of the great thing on Docker Hub is automated building for projects hosted on GitHub:
Detailed instructions how to use the RPi-Monitor docker image can be found in the README file on GitHub and also on the Docker Hub paged. Simply click on the Docker Hub screenshot and you’ll be forwarded to my Docker Hub repository.