更多参考:Jenkins官网
# 拉取Jenkins镜像 docker pull jenkins/jenkins # 运行容器 docker run -d -p 8080:8080 -p 50000:50000 jenkins/jenkins # 访问,有初始化页面 http://localhost:8080 # 获取初始页面需要的密码 <container_id> 运行的容器id docker exec -it <container_id> cat /var/jenkins_home/secrets/initialAdminPassword
标签:50000,8080,jenkins,Jenkins,Docker,安装,docker From: https://www.cnblogs.com/chenjiangbin/p/17647591.html