jenkins 启动

docker pull jenkinsci/blueocean

docker run \
-u root \
--rm \
-d \
-p 8888:8080 \
-p 50000:50000 \
-v /tmp/jenkins-data:/var/jenkins_home \
-v /var/run/docker.sock:/var/run/docker.sock \
jenkinsci/blueocean


docker run \
-u root \
--rm \
-p 8888:8080 \
-p 50000:50000 \
-v /usr/local/src/jenkins-data:/var/jenkins_home \
-v /var/run/docker.sock:/var/run/docker.sock \
jenkinsci/blueocean

你可能感兴趣的:(jenkins 启动)