title: How to setup SonarQube with Docker using Saltslack, and how to use it from CI
body: <p>This post contins some information about how we integrated SonarQube in our workflow using Docker and Saltslack as Docker Container Configuration Management.</p>
  
  <p>It also contains the setup used with Gradle in Travis-CI in order to execute analysis of code and analysis of Pull Requests on Github.</p>
  
  <p>Also, if you see any improvements to this setup, please comment!</p>
  
  <p>(If using Docker Compose, see <a href="https://github.com/SonarSource/docker-sonarqube" rel="nofollow">https://github.com/SonarSource/docker-sonarqube</a>. Feel free to maintain this answer here or copy it to a SCM.)</p>
  
  <p>Requires Docker Engine 1.9</p>