Run the Docker container You should already have Docker running on your local machine. At this point you should have Docker installed and running.
The Jenkins container will also have sonar-scanner running locally to perform the code quality inspections. $ docker buildx build --platform linux/arm/v7 -t arm-build . docker run -d --name sonarqube -p 9000:9000 sonarqube This command will pull the image down and create a container from it. Open the command line and run this Docker command to pull the official SonarQube … We’ve managed to build and run an armv7 image on an x86_64 laptop with little work. Download the Sonarqube container from Docker Hublike this Create a file Run the container in the background mode and then exposes the port 9000 through to host. You can certainly install SonarQube locally using the downloadable to get started or even set up a SonarQube server. As a non-root user, unzip it, let's say in C:\sonarqube or /opt/sonarqube.
SonarQube is an open source platform for continuous inspection of code quality. Download the SonarQube Community Edition zip file. Run server docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 sonarqube Resume container when stopped docker start sonarqube Install SonarScanner Download and install SonarScanner from scanner here. As a non-root user, start the SonarQube Server: # On Windows, execute: C:\sonarqube\bin\windows
We want to have two Docker containers running on the same host – one container will be for Jenkins and the other for SonarQube. … $ docker run --rm arm-build armv7l Success! However, to speed up the process, I recommend using Docker. Once done, you need to wait for a few mistunes for the server to get started.