Skip to content

Commit be6f108

Browse files
committed
Make node the master
Maybe being the master node is also important to connect. Let’s try it!
1 parent 00c66d3 commit be6f108

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ if [ "x${MAJOR_VERSION}" == 'x6' ]; then
2727
docker run \
2828
--rm \
2929
--env "node.name=es1" \
30+
--env "node.master=true" \
3031
--env "action.auto_create_index=false" \
3132
--env "cluster.name=docker-elasticsearch" \
3233
--env "cluster.routing.allocation.disk.threshold_enabled=false" \

0 commit comments

Comments
 (0)