# Using Kibana on Docker

**URL:** <https://discuss.elastic.co/t/using-kibana-on-docker/83428>\
**Category:** Kibana\
**Created:** [April 24, 2017, 2:48pm UTC](https://discuss.elastic.co/t/using-kibana-on-docker/83428 "2017-04-24T14:48:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chemse](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chemse/32/17956_2.png) [@Chemse](https://discuss.elastic.co/u/Chemse)\
**Post date:** [April 24, 2017, 2:48pm UTC](https://discuss.elastic.co/t/using-kibana-on-docker/83428/1 "2017-04-24T14:48:20Z")

</div>

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](http://docker.elastic.co/kibana/kibana:5.3.1)**

it shows this

 ![](https://us1.discourse-cdn.com/elastic/original/3X/2/6/265cc0bf213b1c2ad2dbec88384ea216997a4893.png)

**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!!!

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [April 24, 2017, 11:24pm UTC](https://discuss.elastic.co/t/using-kibana-on-docker/83428/2 "2017-04-24T23:24:16Z")

</div>

Take a look at [https://www.elastic.co/guide/en/kibana/current/\_configuring\_kibana\_on\_docker.html](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](https://github.com/elastic/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

---

<div class="post-metadata">

**Author:** ![Chemse](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chemse/32/17956_2.png) [@Chemse](https://discuss.elastic.co/u/Chemse)\
**Post date:** [April 25, 2017, 7:58am UTC](https://discuss.elastic.co/t/using-kibana-on-docker/83428/3 "2017-04-25T07:58:33Z")

</div>

Hello,

thanks, in the documentation I didn't understande where I've to put this document **kibana.yml**???? ![](https://us1.discourse-cdn.com/elastic/original/3X/8/0/807fcd29a1e69243bfddeaa94c3c1f9395fb8e9c.png)

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

**Bind-mounted configuration ??**

**Please help me**

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 23, 2017, 8:00am UTC](https://discuss.elastic.co/t/using-kibana-on-docker/83428/4 "2017-05-23T08:00:25Z")

</div>

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