docker pull elasticsearch:6.4.3
docker run -d --name=elasticsearch_6.4.3 -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:6.4.3