Skip to content

Instantly share code, notes, and snippets.

View SudarshanTevari's full-sized avatar
🎯
Focusing

Sudarshan SudarshanTevari

🎯
Focusing
  • Bangalore
  • 07:55 (UTC +05:30)
View GitHub Profile
@SudarshanTevari
SudarshanTevari / SonarQube on Docker container.md
Created April 3, 2023 07:16
Setup SonarQube on docker container

How to setup SonarQube with PostgreSQL DB on Docker Container?

  • Let's start creating a docker network for both SonarQube and PostgreSQL database, as they both need to be on the same network to communicate with each other.
  • If you are restarting the server make sure the docker service is enabled so that it will automatically start SonarQube and PostgreSQL docker containers.

You can enable docker by passing command:

sudo systemctl enable docker

Start with cleaning process:

@SudarshanTevari
SudarshanTevari / nexus_docker.md
Last active November 22, 2023 16:15
Docker container creation using sonatype/nexus3 image for ARM64 or (linux/arm64/v8)

To build the “sonatype/nexus3” Docker image from the Dockerfile on an ARM64 or (linux/arm64/v8) machine, you can follow these steps:

  • Clone the repository containing the Dockerfile by running the following command:
git clone https://github.com/sonatype/docker-nexus3.git
  • Navigate to the directory containing the Dockerfile by running the following command:
cd docker-nexus3
  • Build the Docker image from the Dockerfile by running the following command: