SonarSource/docker-sonarqube

🐳 SonarQube in Docker

Python

1,571

469 commits

updated Oct 17, 2026

See the code

README

Sonar logo

CI - Build and Test Quality Gate Status Docker pulls GitHub stars License Community forum

SonarQube Docker images

Run a self-managed SonarQube instance in a container and make code quality and security analysis available to local and CI workflows.

What the image provides

  • Official SonarQube images for the Community Build and supported commercial editions.
  • Versioned tags for repeatable local, test, and production deployments.
  • A containerized SonarQube runtime that scanners can send analysis results to.
  • Configuration and tag guidance maintained through the Docker Official Images documentation.

The image runs the same SonarQube analysis for developer-written and AI-generated code. Scanners analyze a project and send the results to the running SonarQube instance, where teams can review explainable findings and enforce quality gates.

The SonarQube product line

About this Repo

This is the Git repo of the official Docker image for SonarQube. See the Hub page for the full readme on how to use the Docker image and for information regarding contributing and issues.

The full readme is generated over in docker-library/docs, specifically in docker-library/docs/sonarqube.

Have Questions or Feedback?

For support questions ("How do I?", "I got this error, why?", ...), please first read the documentation and then head to the SonarSource forum. There are chances that a question similar to yours has already been answered.

Be aware that this forum is a community, so the standard pleasantries ("Hi", "Thanks", ...) are expected. And if you don't get an answer to your thread, you should sit on your hands for at least three days before bumping it. Operators are not standing by. :-)

Contributing

If you would like to see a new feature or report a bug, please create a new thread in our forum.

Please be aware that we are not actively looking for feature contributions. We typically accept minor improvements and bug fixes.

With that in mind, if you would like to submit a code contribution, please create a pull request for this repository. Please explain your motives to contribute this change: what problem you are trying to fix, what improvement you are trying to make.

License

Copyright SonarSource.

SonarQube Community Build is released under the GNU Lesser General Public License, Version 3.0⁠, and packaged with SSALv1 analyzers. SonarQube Server Developer, Enterprise, and Data Center Editions are licensed under SonarQube Server Terms and Conditions.

docker
docker-image
sonarqube

SonarSource/docker-sonarqube

🐳 SonarQube in Docker

Python

1,571

469 commits

updated Oct 17, 2026

See the code

README

Sonar logo

CI - Build and Test Quality Gate Status Docker pulls GitHub stars License Community forum

SonarQube Docker images

Run a self-managed SonarQube instance in a container and make code quality and security analysis available to local and CI workflows.

What the image provides

  • Official SonarQube images for the Community Build and supported commercial editions.
  • Versioned tags for repeatable local, test, and production deployments.
  • A containerized SonarQube runtime that scanners can send analysis results to.
  • Configuration and tag guidance maintained through the Docker Official Images documentation.

The image runs the same SonarQube analysis for developer-written and AI-generated code. Scanners analyze a project and send the results to the running SonarQube instance, where teams can review explainable findings and enforce quality gates.

The SonarQube product line

About this Repo

This is the Git repo of the official Docker image for SonarQube. See the Hub page for the full readme on how to use the Docker image and for information regarding contributing and issues.

The full readme is generated over in docker-library/docs, specifically in docker-library/docs/sonarqube.

Have Questions or Feedback?

For support questions ("How do I?", "I got this error, why?", ...), please first read the documentation and then head to the SonarSource forum. There are chances that a question similar to yours has already been answered.

Be aware that this forum is a community, so the standard pleasantries ("Hi", "Thanks", ...) are expected. And if you don't get an answer to your thread, you should sit on your hands for at least three days before bumping it. Operators are not standing by. :-)

Contributing

If you would like to see a new feature or report a bug, please create a new thread in our forum.

Please be aware that we are not actively looking for feature contributions. We typically accept minor improvements and bug fixes.

With that in mind, if you would like to submit a code contribution, please create a pull request for this repository. Please explain your motives to contribute this change: what problem you are trying to fix, what improvement you are trying to make.

License

Copyright SonarSource.

SonarQube Community Build is released under the GNU Lesser General Public License, Version 3.0⁠, and packaged with SSALv1 analyzers. SonarQube Server Developer, Enterprise, and Data Center Editions are licensed under SonarQube Server Terms and Conditions.

docker
docker-image
sonarqube

Project health

Overall

7.0/10

Maintained

10/10

Code review

10/10
OpenSSF Scorecard

Significant stargazers

Klaudio Sinani

1,219 followers · starred Mar 2023

Tung Leo

270 followers · starred Jul 2025

Fernando Boaglio

398 followers · starred Aug 2018

Leonardo Rossetti

23 followers · starred Mar 2016