项目地址为:https://github.com/weaveworks/scope
它是个什么鬼呢?
官方简介为:Monitoring, visualisation & management for Docker & Kubernetes(Docker和Kubernetes的可视化监控管理软件)
Weave Scope能为你的应用自动生成一个map,使你可以直观的了解、监控、管理你的containerized和微服务。
用官方的话来说就是:Understand your Docker containers in real-time,Contextual details and deep linking,Interact with and manage containers,Extend and customize via plugins。
总之一句话,用它来监控docker很酷,很炫,很牛逼。
它的入门指南就三句话:
sudo curl -L git.io/scope -o /usr/local/bin/scope
sudo chmod a+x /usr/local/bin/scope
scope launch
下载一个shell脚本,设置脚本为可执行文件,执行该文件。
下面在我的centos机器上实验一把看看效果。
安装好之后,访问4040端口即可。来,瞅瞅长啥样子。
接下来,我会在下一章剖析下scope这个shell脚本。