Take a look at SonarQube Docker for the basic usage of the container.
By default, as it extends sonarqube
image, it exposes:
- 9000: SonarQube web application.
- 9092: Sonar server to set with sonar-runner or sonar-scanner.
You can rebuild this image by using the following command:
docker build -t <image-name> .
The image is published as recuencojones/sonarqube-docker-setup
.
You can use it with any of the following commands:
docker pull recuencojones/sonarqube-docker-setup
docker run -d --name <container-name> -p 9000:9000 -p 9092:9092 recuencojones/sonarqube-docker-setup