Running a local kibana in a container

(Mysurf Mail) #1

I am trying to run use kibana console with my local elasticsearch (container)
In the ElasticSearch documentation I see

docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node"

Which lets me run the community edition in a quick one liner.

Looking at the kibana documentation i see only

docker pull

Replacing pull with run it looks for the x-pack (I think it means not community) and fails to find the ES

Unable to revive connection: http://elasticsearch:9200/

Is there a one liner that could easily set up kibana localy in a container?
All I need is to work with the console (Sense replacement)

(Jon Budzenski) #2

Kibana's looking for an elasticsearch cluster with a domain of elasticsearch. These two containers need to be linked together with a network -

If you have docker-compose available it'll do this for you:

version: '2'
      - discovery.type=single-node
docker-compose up

Are you using Console to manage a separate cluster? The versions bundled with Kibana only let you connect to the backing elasticsearch cluster.

(Mysurf Mail) #3

Thanks. Works wonderfully.

(system) #4

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