Jenkins安装
# 创建文件夹
mkdir root/jenkins-data
# 运行Jenkins
docker run -u root -d -p 8080:8080 -p 50000:50000 --name jenkins -v /root/jenkins-data:/var/jenkins_home -v /bin/docker:/bin/docker -v /var/run/docker.sock:/var/run/docker.sock jenkins/jenkins
# 查看jenkisn初始密码
cat /root/jenkins-data/secrets/initialAdminPassword