๐ฉโ๐ป ๅฎ่ฃ Cadvisor
้ๆผ Cadvisorโ
cAdvisor
(Container Advisor) ๆฏ Google ้็ผ็ไธๆฌพ้ๆบๅทฅๅ ท
้ๅงๅฎ่ฃโ
็ฐๅขโ
- Ubuntu
ๅฎ่ฃๆญฅ้ฉโ
ๅฎ่ฃ Docker๏ผ
- ๅฆๆๆจ้ๆฒๆๅฎ่ฃ Docker๏ผ่ซๅ ๅฎ่ฃ Docker
้่ก cAdvisor๏ผ
- ไฝฟ็จ Docker ้่ก
cAdvisor
ๅฎนๅจ - ไปฅไธๅฝไปคๅฐๅๅไธๅ
cAdvisor
ๅฎนๅจ - ๅฐๅ
ถ็ถๅฎๅฐไธปๆฉ็
8080
Port๏ผ
sudo 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 \
--name=cadvisor \
gcr.io/cadvisor/cadvisor:latest้ๆขๅฝไปคๅฐๅๅไธๅ
cAdvisor
ๅฎนๅจ๏ผไธฆๅฐๅ ถ็ถๅฎๅฐไธปๆฉ็8080
Port- ไฝฟ็จ Docker ้่ก
่จชๅ cAdvisor ็้ข๏ผ
- ๅจ็่ฆฝๅจไธญ่จชๅ
http://your-server-ip:8080
- ๅจ็่ฆฝๅจไธญ่จชๅ