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