Docker运行Jenkins的正确方法(持续更新)
初始化运行
docker run jenkins
docker run --name jenkins -v /mnt/db1/jenkins/jenkins_home:/var/jenkins_home -v /root/.ssh/id_rsa:/root/.ssh/id_rsa:ro -v /root/.ssh/id_rsa.pub:/root/.ssh/id_rsa.pub:ro -v /etc/localtime:/etc/localtime:ro -v /etc/timezone:/etc/timezone:ro -v /mnt/db1/jenkins/.m2:/root/.m2 -v /mnt/db1/jenkins/maven:/usr/local/maven -v /mnt/db1/jenkins/share:/usr/share/jenkins -u root --restart always --network right-service --ip 172.18.0.4 --privileged=true -d jenkins/jenkins:lts
相关推荐
ppppfly 2020-10-24
tosim 2020-06-24
达观数据 2020-11-11
汪康 2020-10-30
synshitou 2020-10-21
programmeryu 2020-09-24
Topbeyond 2020-08-21
lrcoop 2020-08-18
young依然 2020-08-17
oden 2020-08-16
lrcoop 2020-08-15
yserver 2020-08-15
王永迪 2020-08-15
pursuemylife 2020-08-14
pandaphinex 2020-08-09
leonranri 2020-07-26
CloasGao 2020-07-21
zccheu 2020-07-18