Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Docker monitors weavworks/scope, single and multiple deployments

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Single:

sysdig.tar package is required, which can be downloaded from the Internet.

Local package I used:

Make it a mirror image:

[root@localhost ~]# docker load

< sysdig.tar 运行这个镜像: [root@localhost ~]# docker run -it --rm --name sysdig --privileged=true --volume=/var/run/docker.sock:/host/var/run/docker.sock --volume=/dev:/host/dev --volume=/proc:/host/proc:ro --volume=/boot:/host/boot:ro --volume=/lib/modules:/host/lib/modules:ro --volume=/usr:/host/usr:ro sysdig/sysdig 下载scope: [root@localhost ~]# curl -L git.io/scope -o /usr/local/bin/scope 给个权限: [root@localhost ~]# chmod +x /usr/local/bin/scope 启动: scope launch 浏览器访问: ip地址加端口4040:

Multiple:

Second docker operation:

[root@localhost ~]# curl -L git.io/scope -o /usr/local/bin/scope

[root@localhost ~]# chmod +x /usr/local/bin/scope

[root@localhost ~]# scope launch

The first operation:

[root@localhost ~]# scope launch 192.168.1.10 192.168.1.20

Second operation:

[root@localhost ~]# scope launch 192.168.1.20 192.168.1.10

Browser access:

Or IP address plus port 4040:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report