Sonarqube Docker installation steps.
docker pull sonarqube:9.4-community
- if database is new then execute -
ALTER DATABASE CURRENT COLLATE SQL_Latin1_General_CP1_CS_AS;
docker run -d --name sonarqube_dotnet -p 9009:9000 -e SONAR_JDBC_URL="jdbc:sqlserver://192.168.1.192:1433;databaseName=sonarqube_dotnet" -e SONAR_JDBC_USERNAME=sa -e SONAR_JDBC_PASSWORD=admin@123 -v sonarqube_data:/dump/sonarqube_dotnet/data -v sonarqube_extensions:/dump/sonarqube_dotnet/extensions -v sonarqube_logs:/dump/sonarqube_dotnet/logs sonarqube:9.4-community