Friday, February 25, 2022

SonarQube on Docker |Setup SonarQube Using Docker

 in This Tutorial you will Learn " How To install SonarQube Using Docker on Rocky Linux 8.5"

Docker is a software platform that allows you to build, test, and deploy applications quickly.
SonarQube is an open source platform for continuous inspection of code quality.
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -192.168.1.20        |     Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release ; sestatus ; dnf groupinstall "Development Tools" -y ; docker-compose --version ; docker --version
docker pull sonarqube
docker volume create sonarqube-conf ; docker volume create sonarqube-data
docker volume create sonarqube-logs ; docker volume create sonarqube-extensions
docker volume inspect sonarqube-conf ; docker volume inspect sonarqube-data
docker volume inspect sonarqube-logs ; docker volume inspect sonarqube-extensions
mkdir /sonarqube
ln -s /var/lib/docker/volumes/sonarqube-conf/_data /sonarqube/conf
ln -s /var/lib/docker/volumes/sonarqube-data/_data /sonarqube/data
ln -s /var/lib/docker/volumes/sonarqube-logs/_data /sonarqube/logs
ln -s /var/lib/docker/volumes/sonarqube-extensions/_data /sonarqube/extensions

docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 -v sonarqube-conf:/opt/sonarqube/conf -v sonarqube-data:/opt/sonarqube/data -v sonarqube-logs:/opt/sonarqube/logs -v sonarqube-extensions:/opt/sonarqube/extensions sonarqube
3024ccd7b9ca7396fdea81717c9b90e113e666ba3cc13c071e10d1c7cf27fe28

http://192.168.1.60:9000  Default Username: admin | • Default Password: admin NewPass - ndGJLhfG8ZRVA6R
__________________________________________________________________________________________

No comments:

Post a Comment