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:
- Alibaba cloud ECS installation cadvisor error [How to Solve]
- Docker startup container Error response from daemon: OCI runtime create failed: container_ linux.go:349
- [Solved] cannot kill Docker container – permission denied
- docker: Error response from daemon: Conflict. The container name “/xx” is already in use
- Docker Container Error:Failed to get D-Bus connection: Operation not permitted
- failed: OCI runtime create failed: container_linux.go:348
- jhsdb jmap –heap –pid 1 Command Error [How to Solve]
- [Solved] docker: Error response from daemon: could not select device driver “” with capabilities: [[gpu]].
- [Solved] Failed to get D-Bus connection: Operation not permitted
- The docker container reports an error when using the systemctl command