elasticsearch docker installation code example
Example: docker elasticsearch latest version
docker pull docker.elastic.co/elasticsearch/elasticsearch:7.11.2
docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.11.2