-
Download Docker Desktop for your platform https://www.docker.com/products/docker-desktop and run it
-
Create a network which is helpful for easier running of multiple networked pieces:
docker network create elastic
-
Run OSS ES 6.6.1 on localhost:9200 in single node mode (note, this may take longer the first time since it needs to download the docker image)
docker run --network=elastic --name=elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch-oss:6.6.1
-
In a separate shell, run OSS Kibana on localhost:5601 (note, this may take longer the first time since it needs to download the docker image)
docker run --network=elastic -p 5601:5601 docker.elastic.co/kibana/kibana-oss:6.6.1
-
Check that things are running properly by going to localhost:9200 and localhost:5601. Kibana will give you the option to add some sample data to elasticsearch, which is helpful for exploring.
-
-
Save mcescalante/6be03751c820677cf0f15c7b864fa23a to your computer and use it in GitHub Desktop.
Elasticsearch development setup instructions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment