Docker Container Performance Monitoring Tool: google/cadvisor

dockerhub: https://hub.docker.com/r/google/cadvisor/

github:  https://github.com/google/cadvisor

cAdvisor ( Container  Advisor) provides container users with an understanding of the resource usage and performance characteristics of their running containers. It is a running daemon that collects, aggregates, processes and exports information about running containers. Specifically, for each container, it keeps a histogram of resource isolation parameters, historical resource usage, and full historical resource usage. This data is exported by container and machine scope.

 

Install:

# get image
docker pull google / cadvisor
 
# run the container
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 --privileged= true --name=cadvisor --restart=always google/ cadvisor:latest
 
# Run container shorthand
docker run -v /:/rootfs:ro -v / var /run:/ var /run:rw -v /sys:/sys:ro -v / var /lib/docker/:/ var /lib/docker:ro -p 8080 : 8080 --detach= true --privileged= true --name=cadvisor --restart=always google/ cadvisor:latest
 
# View container logs
docker logs - f cadvisor
 
# access instructions
#curl http: // host:8080

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *