摘自官网https://jenkins.io/zh/doc/book/installing/#setup-wizard
1.下载镜像
docker pull jenkinsci/blueocean
2.启动运行
docker run \
-u root \
--rm \
-d \
-p 8080:8080 \
-p 50000:50000 \
-v jenkins-data:/var/jenkins_home \
-v /var/run/docker.sock:/var/run/docker.sock \
jenkinsci/blueocean
网友评论