https://jenkins.io/doc/book/installing/
1. 下载jenkins
docker pull jenkinsci/blueocean
2. 运行jenkins
docker run -u root -d -p 8080:8080 -p 50000:50000 -v /var/jenkins_home:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean
3. 安装jenkins
新建用户: admin/123456
网友评论