Using Kibana on Docker


(Taloub) #1

Hello !

I want to use elasticsearch and kibana in Docker, I used for each one of them a container, elasticsearch works well, but kibana no, I pulled the image and when i tried to run it with this command

docker run -p 5601:5601 -e "http.host=0.0.0.0" -e "transport.host=127.0.0.1" docker.elastic.co/kibana/kibana:5.3.1

it shows this

No living connection

There's anyone already work's with Docker ?

Please help me, in how to install kibana in Docker and how to connect it with elasticsearch ?

beacause i looked at the documentation but it's no clear.

please help !!!

thanks!!!


(Spencer Alger) #2

Take a look at https://www.elastic.co/guide/en/kibana/current/_configuring_kibana_on_docker.html

Kibana is trying to use the elasticsearch hostname by default, which would work if you connected the elasticsearch container to the kibana container (like we do in the stack-docker).

If you don't want to explicitly connect the two containers you can specify an alternate hostname and port with the ELASTICSEARCH_URL environment variable


(Taloub) #3

Hello,

thanks, in the documentation I didn't understande where I've to put this document kibana.yml ????

and what is the command line witch I've to put ??

Bind-mounted configuration ??

Please help me


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.