- 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