【发布时间】:2019-01-21 00:01:25
【问题描述】:
我有一个包含 Docker 和 Elasticsearch(操作系统:Centos7)的虚拟机。我想创建一个 Kibana docker 并连接到我的 ES。
ES 包含索引,如果我输入 curl -s http://localhost:9200/_cat/indices 我得到了索引列表。
我使用 Dockerfile 来创建我的 Kibana 镜像:
docker build -t="kibana_test" .
docker run --name kibana -e ELASTICSEARCH_URL=http://@IP:9200 -e XPACK_SECURITY_ENABLED=false -p 5600:5601 -d kibana_test
好吧,如果我把我机器的地址IP,我得到了这个:
plugin:elasticsearch@6.2.4 Request Timeout after 3000ms
在我的 Docker 日志中,我收到了这条消息:
无法从 X-Pack 插件获取许可证信息 [data] 集群的 Elasticsearch
我该如何解决这个问题?
感谢您的提前!
【问题讨论】:
-
我看到
http://@IP:9200哪个IP? -
对不起! @IP=10.10.10.99 我的虚拟机的 IP 地址。
-
你能
curl -s http://10.10.10.99:9200/_cat/indices -
没有可显示的内容!我认为 curl -s 10.10.10.99:9200/_cat/indices 不起作用。
标签: docker elasticsearch kibana