Comments (2)
The Kibana container cannot refer to the Elasticsearch container as localhost
. When you are in the Kibana container, localhost
is the Kibana container.
I'm not sure what your intent is, but given that you are binding Elasticsearch to port 9200 on the host system, I'll assume that you'd like the processes to appear like traditional, non-containerized ones and not take advantage of Docker Networking.
If that's so, then you could bind Kibana directly to the host NIC like this:
docker run --net=host -e "ELASTICSEARCH_URL=http://localhost:9200" docker.elastic.co/kibana/kibana:5.2.2
With --net=host
, localhost
will actually mean the host system, since it and the Kibana container now exist on the same NIC/network namespace.
from kibana-docker.
See also: https://discuss.elastic.co/t/kibana-docker-image-doesnt-connect-to-elasticsearch-image/79511/4
from kibana-docker.
Related Issues (20)
- Kubernetes MustRunAsNonRoot issue
- Unable to configure xpack.infra ENV vars HOT 6
- Support spaces in environment variables? HOT 3
- Kibana variable `elasticsearch.hosts` not supported in 6.6.0 BC6 docker image HOT 1
- Docker image for 6.6 Kibana HOT 1
- Userns-Remap issue permission denied HOT 8
- Error: is unauthorized for user HOT 4
- Running with reverse proxy HOT 1
- Support _FILE environment variable? HOT 1
- elasticsearch.hosts or elasticsearch.url are not picked up at all in version 6.7.0 HOT 12
- xpack.uptime.enabled & xpack.maps.enabled missing HOT 1
- Error running Kibana as non-root user HOT 1
- CTRL-c not effective. HOT 4
- Missing server.rewriteBasePath in kibana_vars HOT 4
- Docker Kibana 6.3.2 loading issues HOT 10
- Errors with userns-remap HOT 2
- Missing xpack.monitoring.ui.container.logstash.enabled in kibana_vars
- kibana image can't access network HOT 7
- kibana docker image HOT 4
- Test test_all_files_in_kibana_directory_are_group_writable fails with latest snapshot HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kibana-docker.