elasticsearch
## Install
docker pull elasticsearch

## run
docker run -d —restart=always -p 9200:9200 -e “http.host=0.0.0.0” -e “transport.host=127.0.0.1”

test
{
“name” : “FxGeqjq”,
“cluster_name” : “elasticsearch”,
“cluster_uuid” : “E4b-2Z83TzqnlJPckGksMg”,
“version” : {
“number” : “5.1.1”,
“build_hash” : “5395e21”,
“build_date” : “2016-12-06T12:36:15.409Z”,
“build_snapshot” : false,
“lucene_version” : “6.3.0”
},
“tagline” : “You Know, for Search”
}

logstash
## install
docker pull logstash

run
docker run -d —restart=always -it -v ~/pipeline/:/usr/share/logstash/pipeline/ logstash