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 1
1
#! /bin/sh
2
2
ES_VERSION=" 7.14.0"
3
3
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;
6
6
docker run \
7
7
--rm \
8
8
--publish 9200:9200 \
9
9
--env " node.attr.testattr=test" \
10
10
--env " path.repo=/tmp" \
11
11
--env " repositories.url.allowed_urls=http://snapshot.*" \
12
12
--env " discovery.type=single-node" \
13
- --network=esnet-oss \
14
- --name=elasticsearch-oss \
13
+ --network=esnet \
14
+ --name=elasticsearch \
15
15
--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