Enterprise Framework

Software Solutions in the Enterprise

Mac: Run Elasticsearch and Kibana on Docker

Mac:  Run Elasticsearch and Kibana on Docker


Get Elasticsearch docker image

$ docker pull docker.elastic.co/elasticsearch/elasticsearch:6.4.2

Reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html


Run Elasticsearch Docker

$ docker run -d -p 9200:9200 -p 9300:9300 -it -h elasticsearch --name elasticsearch elasticsearch:6.4.2

Open a browser and go to http://localhost:9200 


Get the Kibana docker image

$ docker pull docker.elastic.co/kibana/kibana:6.4.2

Reference:  https://www.elastic.co/guide/en/kibana/current/docker.html


Run Kibana docker

$ docker run -d -p 5601:5601 -h kibana --name kibana --link elasticsearch:elasticsearch kibana:6.4.2

Open a browser and go to http://localhost:5601


Comments are closed