docker安装并运行kibana

时间:2019-10-31
本文章向大家介绍docker安装并运行kibana,主要包括docker安装并运行kibana使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。

  拉镜像:

[mall@VM_0_7_centos ~]$ sudo docker pull kibana:6.4.0
6.4.0: Pulling from library/kibana
256b176beaff: Already exists 
88643bded09c: Pull complete 
a5ecb9cf4fd5: Pull complete 
ac1b01213c5c: Downloading [===========================================>       ]  163.8MB/187.6MB
ac1b01213c5c: Pull complete 
3a29336659e0: Pull complete 
42b8cd0c698d: Pull complete 
13c336562991: Pull complete 
5f61543bfc87: Pull complete 
90e0671f0205: Pull complete 
Digest: sha256:8e27f3f6051acc8542ff87b42a48cebfc0289514143aeb9db025a855712dabb4
Status: Downloaded newer image for kibana:6.4.0
docker.io/library/kibana:6.4.0

  运行容器kibana:

[mall@VM_0_7_centos ~]$ sudo docker run -p 5601:5601 --name kibana \
>    --link elasticsearch:es \
>    -e "elasticsearch.hosts=http://es:9200" \
>    -d kibana:6.4.0
[sudo] password for mall: 
f10b2736c82104d6f50ea30c56f1e67ae7c94dcba2fd4df7c5ff0bf629fe88b0

  浏览器打开5601端口看看:

原文地址:https://www.cnblogs.com/wuxun1997/p/11771900.html