I run my kibana using the docker and elasticsearch using locally using the command bin/elasticsearch which listens to http://localhost:9200/ but kibana cant idendify this running elasticsearch instance . It is showing an error no living connections on http://localhost:9200/ .
You need to configure either your ES to have an external IP that Kibana can ping from inside the docker instance, or forward the requests from inside Docker to localhost. But that is overcomplicating.
You can run Kibana locally next to ES without any problems and you can connect it to your local ES or you can run the whole stack in a Docker instance. We have a very good guide for that here: https://github.com/elastic/stack-docker
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.