Zsh: no matches found: SONAR_JDBC_URL

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension): SonarQube 9.4.4
  • how is SonarQube deployed: Docker
  • what are you trying to achieve: Configure SonarQube with Postgresql from local machine.
  • what have you tried so far to achieve this: Run below command to setup, but its failing saying- zsh: no matches found: SONAR_JDBC_URL=jdbc:postgresql://localhost:5432/postgres?currentSchema=postgres
docker run -d --name sonarqube \
    -p 9000:9000 \
    -e SONAR_JDBC_URL=jdbc:postgresql://localhost:5432/postgres?currentSchema=postgres \
    -e SONAR_JDBC_USERNAME=sonarqube \
    -e SONAR_JDBC_PASSWORD=sonarqube \
    -v sonarqube_data:/opt/sonarqube/data \
    -v sonarqube_extensions:/opt/sonarqube/extensions \
    -v sonarqube_logs:/opt/sonarqube/logs \

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!


Welcome to the community!

I think you need to escape the ? in your URL; it looks like zhs interprets it as a wildcard.