Running Sonarcube in docker and Execute Tests against it

Sonarcube is a measurement tool for running static codeanalysis

I prefer to run the sonarqube on docker. Because it’s a clean install and portable runtime environment.

To create a network named mynet we use the following script:

docker network create mynet

Now it’s time to create the postgres database instance named postgres for this I use the following docker command:

docker run --name sonar-postgres -e POSTGRES_USER =sonar -e

--

--

--

Father, Developer,IOT passionist and urban beekeper 🍯🐝

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sascha Peter Bajonczak

Sascha Peter Bajonczak

Father, Developer,IOT passionist and urban beekeper 🍯🐝

More from Medium

Release the limits of Github Actions with self-hosted runners

.Net Core Tee Streaming and Buffered S3 Uploads

How to use client-side load balancing in .Net 6

This is a blog post for my video https://www.youtube.com/watch?v=XEHR-AVou4U