Hi,
I’m trying to run a docker container with the tag latest:
docker run -d --name sonarqube -e SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true -p 9000:9000 sonarqube:latest
as it is described in the Try out sonarqube page Try Out SonarQube | SonarQube Docs
But the container does not start, the logs I see :
2021.07.15 10:28:44 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2021.07.15 10:28:44 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:40331]
2021.07.15 10:28:45 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2021.07.15 10:28:45 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
could not find java in ES_JAVA_HOME at /opt/java/openjdk/bin/java
2021.07.15 10:28:45 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
2021.07.15 10:28:45 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2021.07.15 10:28:45 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped