File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22ES_VERSION=" 7.14.0"
33
4- docker pull docker.elastic.co/elasticsearch/elasticsearch-oss :${ES_VERSION}
5- docker network create esnet-oss ;
4+ docker pull docker.elastic.co/elasticsearch/elasticsearch:${ES_VERSION}
5+ docker network create esnet;
66docker run \
77 --rm \
88 --publish 9200:9200 \
99 --env " node.attr.testattr=test" \
1010 --env " path.repo=/tmp" \
1111 --env " repositories.url.allowed_urls=http://snapshot.*" \
1212 --env " discovery.type=single-node" \
13- --network=esnet-oss \
14- --name=elasticsearch-oss \
13+ --network=esnet \
14+ --name=elasticsearch \
1515 --detach \
16- docker.elastic.co/elasticsearch/elasticsearch-oss: ${ES_VERSION}
17- docker run --network esnet-oss --rm appropriate/curl --max-time 120 --retry 120 --retry-delay 1 --retry-connrefused --show-error --silent http://elasticsearch-oss :9200
16+ docker.elastic.co/elasticsearch/elasticsearch${ES_VERSION}
17+ docker run --network esnet --rm appropriate/curl --max-time 120 --retry 120 --retry-delay 1 --retry-connrefused --show-error --silent http://elasticsearch:9200
You can’t perform that action at this time.
0 commit comments