Get the App
SLTechnology News&Howtos  ›  Development  › 

Introduction and installation of Docker Container Monitoring Cadvisor

Shulou Source: shulou.com Published: 2022-06-03 18:55:39 11月12日 Update

This article mainly introduces "the introduction and installation of Docker container monitoring Cadvisor". In daily operation, I believe many people have doubts about the introduction and installation of Docker container monitoring Cadvisor. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "the introduction and installation of Docker container monitoring Cadvisor". Next, please follow the editor to study!

Cadvisor is software created by google to monitor the usage and performance of icmtfy container resources, and cadvisor runs as a container on the host machine. By hanging on a local volume, it can monitor all containers running on the same host. It also provides a local web interface and API, and can store data to InfluxDB and running container data to a remote InfluxDB cluster.

Install cadvisor

Docker run\-volume=/:/rootfs:ro\-volume=/var/run:/var/run:rw\-volume=/sys:/sys:ro\-volume=/var/lib/docker/:/var/lib/docker:ro\-publish=8089:8080\-detach=true\-name=cadvisor\ google/cadvisor:latest

test

Visit http://XXX:8089 to see the details of container (the opening process may be slow)

Interface display:

At this point, the study on "introduction and installation of Docker Container Monitoring Cadvisor" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Container monitoring learning running data more interface storage help utility next host information host performance situation article way method theory Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Apple Shulou Technology vpn NVidia