docker 部署 jenkins
1.拉取镜像
sudo yum install java
docker pull jenkins/jenkins:lts
2.部署
docker run -d -v jenkins_home:/var/jenkins_home -p 8080:8080 -p 50000:50000 jenkins/jenkins:lts
3.查看密码
docker exec jenkins tail /var/jenkins_home/secrets/initialAdminPassword