我正在从docker运行sonarqube,它对于本地项目非常有用,但是当在dockerized应用上手动运行它时,它会提供
[ERROR] SonarQube server [http://my-external-server-url:9000] can not be reached.
我在调试模式下用Maven运行了它,我明白了
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar (default-cli) on project MY-PROJECT: Unable to execute SonarQube: Fail to get bootstrap index from server: No route to host (Host unreachable) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar (default-cli) on project MY-PROJECT: Unable to execute SonarQube
我在这里错过了什么吗? 附言这是一个Docker化的Java项目,因此我是从Docker内部运行的,与其他php项目不同