Sonarqube crashing


We started testing sonarqube before deploying it on production
we are using for our tests : sonarqube:10.2.1-community, it works well with the embedded db, but when I started it with a separate Postgresql db conf (I added the conf in, it fails to start everytime with this error :

RROR es[][o.e.b.Elasticsearch] node validation exception
[1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.
bootstrap check failure [1] of [1]: system call filters failed to install; check the logs and fix your configuration
ERROR: Elasticsearch did not exit normally - check the logs at /opt/sonarqube/logs/sonarqube.log

Knowing that i didn’t change any elasticsearch conf
PS: postgresql db is running in a docker container (version: postgres:14.5)

Your help will be appreciated

Hey there.

Can you tell me more about your Docker host? What OS, version, etc…

Hello the solution finally was to :

RUN ulimit -n 65536
RUN sysctl -w vm.max_map_count=262144

and to run the container with an argument :
-e SONAR_SEARCH_JAVAADDITIONALOPTS="-Dbootstrap.system_call_filter=false"

thank you for replying