mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
add cadvisor
This commit is contained in:
24
cadvisor/README.md
Normal file
24
cadvisor/README.md
Normal file
@@ -0,0 +1,24 @@
|
||||
cadvisor
|
||||
========
|
||||
|
||||

|
||||
|
||||
[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
|
||||
Reference in New Issue
Block a user