From 9cf04c888a98925df70dd8a6c1456e2ce8bda2f8 Mon Sep 17 00:00:00 2001 From: harsha-s Date: Thu, 24 Oct 2019 09:50:48 +0100 Subject: [PATCH] Update docker-compose.yml to fix bootstrap check error (#47650) Update docker-compose.yml to set the number of file descriptors to a higher number, so as to avoid potential bootstrap errors. --- distribution/docker/docker-compose.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/distribution/docker/docker-compose.yml b/distribution/docker/docker-compose.yml index ec6730f6dd558..acf24cbce28bd 100644 --- a/distribution/docker/docker-compose.yml +++ b/distribution/docker/docker-compose.yml @@ -40,6 +40,9 @@ services: memlock: soft: -1 hard: -1 + nofile: + soft: 65536 + hard: 65536 entrypoint: /docker-test-entrypoint.sh elasticsearch-default-2: image: elasticsearch:test @@ -80,6 +83,9 @@ services: memlock: soft: -1 hard: -1 + nofile: + soft: 65536 + hard: 65536 entrypoint: /docker-test-entrypoint.sh elasticsearch-oss-1: image: elasticsearch:test @@ -106,6 +112,9 @@ services: memlock: soft: -1 hard: -1 + nofile: + soft: 65536 + hard: 65536 elasticsearch-oss-2: image: elasticsearch:test environment: