Unable to connect to Elasticsearch at http://elasticsearch:9200. statu red Kibana 安装

solution

  • docker run -d -p 5601:5601 --link elasticsearch -e "elasticsearch_url=容器ip:9200" --name kibana kibana
  • Modify the configuration file kibana.yml in elasticsearch.url
  • Docker network network container provided

    • Set the network group docker network create somenetwork
    • Need elasticsearch and kibana in the same network
    • RUN -d --name kibana - Net Docker somenetwork -p 5601: 5601 kibana
      * access port can access the interface

Guess you like

Origin www.cnblogs.com/eatandsleep/p/12199447.html