March 2017
Beginner to intermediate
925 pages
18h 11m
English
We have tools such as SNMP, Nagios, and so on to monitor bare metal and VM performance. Similarly, there are a few tools/plugins available to monitor container performance such as cAdvisor (https://github.com/google/cadvisor) and sFlow (http://blog.sflow.com/2014/06/docker-performance-monitoring.html). In this recipe, let's see how we can configure cAdvisor.
Setting up cAdvisor.
sudo docker run \ --volume=/:/rootfs:ro \ --volume=/var/run:/var/run:rw \ --volume=/sys:/sys:ro \ --volume=/var/lib/docker/:/var/lib/docker:ro \ --publish=8080:8080 \ --detach=true \ --name=cadvisor \
Read now
Unlock full access