Shell Script for docker container resource utilization

Hi All,

Can anyone has shell script for docker container resource utilization, kindly share to setup in my environment as we have 1 docker manager node and 5 docker worker nodes.

We can monitor through manager node/worker node, looking for shell script setup email alert incase of any one node goes high utilization to take action.

Looking forward your support on this, thanks,

Hello mkhalid,
you can use any monitoring tool to handle monitoring and take actions based on the output of the monitoring results.
some examples:
1- ELK
2- Prometheus.
3- DataDog.

also to handle resource utilization by limiting the container resources check this documentation in resource limitation in docker.

KodeKloud Support