go-common/vendor/gopkg.in/olivere/elastic.v5/run-es-5.1.2.sh
2019-04-22 02:59:20 +00:00

2 lines
172 B
Bash

docker run --rm --privileged=true -p 9200:9200 -p 9300:9300 -v "$PWD/etc:/usr/share/elasticsearch/config" -e ES_JAVA_OPTS='-Xms1g -Xmx1g' elasticsearch:5.1.2 elasticsearch