docker搭建cerebro(elasticsearch监控工具)

1. 拉取镜像

[root@hadoop001 conf]# docker pull lmenezes/cerebro
Using default tag: latest
latest: Pulling from lmenezes/cerebro
Digest: sha256:f199d8fc0288e5ad96b321d7f7618b7ea486d29f801c2be9d638fc62e20f9b34
Status: Image is up to date for lmenezes/cerebro:latest

 

2. 启动容器

[root@hadoop001 conf]# docker run -d -p 9002:9000 \
--restart=unless-stopped \
--name cerebro \
-v /etc/localtime:/etc/localtime \
-v cerebro:/opt/cerebro \
-h cerebro \
lmenezes/cerebro
6f036de7c87672903c88f6590d40d052e8c7b79767e410e35b1f2162c268b63f

 

3 登录web页面

http://ip:9002 配置es集群的9200端口即可

你可能感兴趣的:(docker搭建cerebro(elasticsearch监控工具))