Setting up a node via Docker
Docker (https://www.docker.com/) has become a common way to deploy for testing or production some application server.
Docker is a container system that allows to easily deploy replicable installations of server applications. With Docker, you don't need to set up a host, configure it, download the Elasticsearch server, unzip it, or start the server--everything is done automatically by Docker.
Getting ready
You need a working Docker installation to be able to execute docker commands (https://www.docker.com/products/overview).
How to do it...
If you want to start a vanilla server, just execute:
docker pull docker.elastic.co/elasticsearch/elasticsearch:5.1.1
An output similar to the following screenshot will be shown:
After downloading the Elasticsearch image, we can start a develop instance via:
docker run -p 9200:9200 -p 9300:9300 -e "http.host=0.0.0.0" -e "transport.host=0.0.0.0" docker.elastic.co/elasticsearch/elasticsearch:5.1...