From 43b1685720636b958e4a23195b6f6468046a1c98 Mon Sep 17 00:00:00 2001 From: Aakib khan <101191261+Aakibgithuber@users.noreply.github.com> Date: Tue, 30 Jan 2024 13:28:49 +0530 Subject: [PATCH] Update install_jenkins.sh --- Jenkins-terraform/install_jenkins.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkins-terraform/install_jenkins.sh b/Jenkins-terraform/install_jenkins.sh index 5c43cbf..76bff1a 100644 --- a/Jenkins-terraform/install_jenkins.sh +++ b/Jenkins-terraform/install_jenkins.sh @@ -16,6 +16,7 @@ sudo systemctl status jenkins sudo apt-get update sudo apt-get install docker.io -y sudo usermod -aG docker ubuntu +sudo usermod -aG docker jenkins newgrp docker sudo chmod 777 /var/run/docker.sock docker run -d --name sonar -p 9000:9000 sonarqube:lts-community