I'm trying to execute the docker-compose.yml
from this page Install Elasticsearch with Docker | Elasticsearch Guide [8.5] | Elastic
In the .env
file, I left everything to default except the two passwords
Ther first service "setup" starts without issues. The second service "es01" fails, here is the end of the output
{"@timestamp":"2022-11-02T16:20:56.995Z", "log.level": "INFO", "message":"Native controller process has stopped - no new native processes can be started", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"ml-cpp-log-tail-thread","log.logger":"org.elasticsearch.xpack.ml.process.NativeController","elasticsearch.node.name":"es01","elasticsearch.cluster","log.logger":"org.elasticsearch.node.Node","elasticsearch.node.name":.name":"docker-cluster"}
2022-11-02 16:20:57,001 process reaper (pid 235) ERROR Recursive call to appender rolling
{"@timestamp":"2022-11-02T15:13:40.397Z", "log.level":"ERROR", "message":"uncaught exception in thread [process reaper (pid 234)]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"process reaper (pid 234)","log.logger":"org.elasticsearch.bootstrap.ElasticsearchUncaughtExceptionHandler","elasticsearch.node.name":"es01","error.type":"java.security.AccessControlException","error.message":"access denied (\"java.lang.RuntimePermission\" \"modifyThread\")","error.stack_trace":"java.security.AccessControlException: access denied (\"java.lang.RuntimePermission\" (I truncated the callstack for brevety)
ERROR: [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.
es01_1 exited with code 78