From 95859a7fbee72fae066fa96dd0731e99afa2c81d Mon Sep 17 00:00:00 2001 From: Mathieu Sanchez Date: Fri, 5 Apr 2019 14:39:09 +0900 Subject: [PATCH] Correction jenkins permission denied --- docker/install-jenkins.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/install-jenkins.sh b/docker/install-jenkins.sh index e1b63fb..585ef95 100755 --- a/docker/install-jenkins.sh +++ b/docker/install-jenkins.sh @@ -1,9 +1,8 @@ -mkdir /home/c2a/jenkins_home -chmod 777 /home/c2a/jenkins_home docker run --detach \ --name jenkins \ --publish 8002:8080 \ --publish 50000:50000 \ --volume /var/jenkins_home:/var/jenkins_home \ + --user root \ --restart unless-stopped \ jenkins/jenkins:lts