tariqbuilds / linux-dash

A beautiful web dashboard for Linux
https://afaqurk.github.io/linux-dash/
MIT License
10.4k stars 1.2k forks source link

Docker container with linux dash #476

Open alexkutsan opened 5 years ago

alexkutsan commented 5 years ago

Would be nice to have official docker file and docker compose to monitor host system

hamburghammer commented 4 years ago

I can give it a try but I don't think it will work easily. You will have to mount all the directories manually like /sys/, /proc/ etc. for the api script and I have the feeling that this will break the container.

hamburghammer commented 3 years ago

I am not able to get it up and running with more than the CPU utilization. The problem that I see is the app/server/linux_json_api.sh script. This script does not provide the option to use a different directive to get the information from and mounting all directories into the container doesn't do the job.