Correction jenkins permission denied
This commit is contained in:
parent
862207fc86
commit
95859a7fbe
@ -1,9 +1,8 @@
|
|||||||
mkdir /home/c2a/jenkins_home
|
|
||||||
chmod 777 /home/c2a/jenkins_home
|
|
||||||
docker run --detach \
|
docker run --detach \
|
||||||
--name jenkins \
|
--name jenkins \
|
||||||
--publish 8002:8080 \
|
--publish 8002:8080 \
|
||||||
--publish 50000:50000 \
|
--publish 50000:50000 \
|
||||||
--volume /var/jenkins_home:/var/jenkins_home \
|
--volume /var/jenkins_home:/var/jenkins_home \
|
||||||
|
--user root \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
jenkins/jenkins:lts
|
jenkins/jenkins:lts
|
||||||
|
Loading…
Reference in New Issue
Block a user