hi @Pierre Guillot and Team
Due to issue : https://jira.sonarsource.com/browse/SONAR-12501, i started using -e environment variable flag as mentioned in link
[i am running sonarQube and PostgreSQL on same EC2 instance]
docker run -d --name sonarqube -p 9000:9000 -e SONARQUBE_JDBC_USERNAME=sonarqubeuser -e SONARQUBE_JDBC_PASSWORD=passw0rd -e SONARQUBE_JDBC_URL=jdbc:postgresql://HostIP:5432/dbname sonarqube
But container stops after few seconds. This issue has been reported by many people and solution to this which is below was already ran on host BUT STILL SAME ISSUE.
sysctl -w vm.max_map_count=262144
sysctl -w fs.file-max=65536
ulimit -n 65536
ulimit -u 4096
Can you please tell any solution ? Many people are facing this issue.