-
Notifications
You must be signed in to change notification settings - Fork 1
Creating an ELK stack with Docker
christophelec edited this page Sep 19, 2015
·
1 revision
docker run -d -p 9200:9200 -p 9300:9300 elasticsearch
-d : run in background -p : publish port on the host (we will be able to access containers port 9200 on port 9200 of the host. If the second port is not specified, it will be chosen randomly and can be found with docker ps) elasticsearch : official image. kibana and logstash also exists)
docker run -d --link id_of_the_first_node:elasticsearch -p 5601:5601 kibana
--link will link two nodes
You can now access kibana on port 5601 (leave it some time though)
docker run -d --link id_of_the_first_node:elasticsearch elasticsearch