标签:cAdvisor
cAdvisor可以用于单节点的docker监控.[root@host2 ~]# docker pull docker.io/google/cadvisor
[root@host2 ~]# docker run > --volume=/:/rootfs:ro > --volume=/var/run:/var/run:rw > --volume=/sys:/sys:ro > --volume=/var/lib/docker/:/var/lib/docker:ro > --publish=8090:8080 > --detach=true > --name=cadvisor > google/cadvisor:latest
[root@host2 ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7defe8ef0d4d google/cadvisor:latest "/usr/bin/cadvisor -?? 2 minutes ago Up 2 minutes 0.0.0.0:8090->8080/tcp cadvisor
f6f5cbf77e28 daocloud.io/library/nginx "tailf /etc/hosts" About an hour ago Up 29 seconds 80/tcp romantic_sinoussi
标签:cAdvisor
原文地址:http://blog.51cto.com/duf0913/2089219