Last active
October 7, 2020 15:22
-
-
Save antoinekociuba/23a179a48b5a733ba3dd26f73848726f to your computer and use it in GitHub Desktop.
Start an ElasticSearch container, with specific version and storage location
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d --restart=unless-stopped --name=container_name_elasticsearch -p 123456:9200 -e "discovery.type=single-node" -v /home/www/project/.es_data:/usr/share/elasticsearch/data elasticsearch:7.6.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment