SonarQube Version: 9.0.0.45539 Enterprise
Currently I have a Docker image of SonarQube is up and running, albeit with a few caveats. While attempting so set up the software via the official SonarQube documentation, the only way I am able to get it running currently is in an “attached” mode… For my purposes, this is not ideal.
Running the container yields “could not find java in ES_JAVA_HOME at /opt/java/openjdk/bin/java” message in terminal.
In order to circumnavigate this issue, the container has to be started in an attached mode, and the ES_JAVA_HOME variable has to be set manually, from inside the container via bash. Do you know of any arguments to be passed while starting the container that will allow the setting of ES_JAVA_HOME , without having to open execute bash commands from inside the container?
Secondly, attempting to run the container with the instructions supplied from the official SonarQube documentation Results in “/usr/bin/docker-current: Error response from daemon: No command specified. See ‘/usr/bin/docker-current run --help’”
In order to get SonarQube running, I had to follow the steps listed here. Although our SonarQube server is up and running, I am hesitant to assume that it is set up correctly, as I was unable to follow the official SonarQube documentation.
Any input you have on any of these issues is greatly appreciated.