容器监控之cadvisor

centos7

docker run -d \
-p 8000:8080 \
--name cadvisor \
--privileged=true \
-v /:/rootfs:ro \
-v /var/run:/var/run:rw \
-v /var/lib/docker/:/var/lib/docker:ro \
-v /sys/fs/cgroup/cpu,cpuacct:/sys/fs/cgroup/cpuacct,cpu \
google/cadvisor:latest

 



posted @ 2021-07-10 21:03  myblogexecutive  阅读(44)  评论(0编辑  收藏  举报