top of page



Easiest way to integrate automatic code review of MuleSoft apps using SonarQube and Docker Container

Using SonarQube and Docker

The quickest way to have an installation of SonarQube up and running is using a Docker container. SonarQube is a platform for continuous inspection of code quality to perform automatic reviews with static analysis of code to detect bugs, code smells and security vulnerabilities. This definition is not by me, it is from Wikipedia (

If you want to know more about SonarQube and all its capabilities, you can visit their website:

On the other hand, Docker delivers software in packages called containers (they are ready to use). It is very cool, isn’t it? If you want to learn more about Docker, please visit their website:

Docker Hub

Let’s use Docker Hub (the world’s largest library and community for container images) to find a SonarQube Docker container to perform our MuleSoft applications code reviews.

Step by step:

  1. Go to Docker Hub:

  2. Sign in (or sign up if you do not have an account already)

  3. Download the following image: mulesonarqube

  4. Run the Docker image.

That is all! Now you have a SonarQube instance up and running, and it is ready to perform MuleSoft code analysis.

SonarQube Docker Container

To download the Docker image (it will take a while):

docker pull fperezpa/mulesonarqube:7.7.3

To run the Docker image:

docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 fperezpa/mulesonarqube:7.7.3

You should see something like this in your command line:

Or in your Docker Desktop:

If you want to know more about Docker Desktop (available for Windows, Mac and Linux), visit this website:

Go to your SonarQube instance

That is it! Your SonarQube instance is ready to use.

Go to: http://localhost:9000/projects (use admin/admin as default username and password to Log In, you can change it later).

You should see something like this: