Public Repository

Last pushed: 3 years ago
Short Description
SonarQube instance connected to a mysql database.
Full Description

SonarQube server

This is a stock sonarQube sever connected to a mysql server running on the same machine.

Both sonar and mysql are configured as a service and should start on boot.

In the container Sonar is running on port 9000 mysql is running on port 3306. These must be mapped to an external port when you are running the docker container so that both services are available to the outside world.

Something like this:

docker run -t -i -p 80:9000 -p 3306:3306 stephencarey/sonarqube /bin/bash

This will leave an open bash connection. To leave this container running in the background type ctrl-p then ctrl-q


Your data will persist as long as the container is running so be sure to use docker commit to save your server state.

Docker Pull Command