# Installing SonarQube

### Now to install SonarQ

Now to finally install SonarQube. I will create a docker container with the latest SonarQube image

<figure><img src="https://2022164620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtzurpgroDJSMn9AFVmQP%2Fuploads%2FI2aNbWq48pi7otzahiqt%2Fimage.png?alt=media&#x26;token=e314d3bc-d335-4143-81c6-d64399e409af" alt=""><figcaption></figcaption></figure>

to verify it is running, use “docker ps”

<figure><img src="https://2022164620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtzurpgroDJSMn9AFVmQP%2Fuploads%2FZEuyL4fkFhIx7pKK4XXF%2Fimage.png?alt=media&#x26;token=e7d5a08e-feb1-4f02-b125-c64b34e1be99" alt=""><figcaption><p>SonarQ container is running</p></figcaption></figure>

To access SonarQube grab the instance public IP and append :9000

<figure><img src="https://2022164620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtzurpgroDJSMn9AFVmQP%2Fuploads%2FwJapyrnFVwMpI1jdi0c4%2Fimage.png?alt=media&#x26;token=1ac5973e-89a5-4c4b-bf32-26d08fe22e55" alt=""><figcaption></figcaption></figure>

My one took a while to load but insure you are exposing your instance port via the security group if it does not load up in around 8-10 minutes

Now that this is the first time using sonarqube login and password will be admin-admin

<figure><img src="https://2022164620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtzurpgroDJSMn9AFVmQP%2Fuploads%2FJBH4moQHoSRASUx09efE%2Fimage.png?alt=media&#x26;token=05ea77f5-ce24-4687-ac6a-91bfee3b846b" alt=""><figcaption></figcaption></figure>

Success.
