2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

add cadvisor

This commit is contained in:
kev
2016-01-28 18:00:25 +08:00
parent 78297a47da
commit 5aa3720c6a
4 changed files with 59 additions and 0 deletions

24
cadvisor/README.md Normal file
View File

@@ -0,0 +1,24 @@
cadvisor
========
![](https://badge.imagelayers.io/vimagick/cadvisor:latest.svg)
[cAdvisor][1] (Container Advisor) provides container users an understanding of
the resource usage and performance characteristics of their running containers.
## docker-compose.yml
```yaml
cadvisor:
image: vimagick/cadvisor
ports:
- "8080:8080"
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
restart: always
```
[1]: https://github.com/google/cadvisor