Jenkins 配置 docker 容器
搭建时打开代理。
1. 搭建
docker pull jenkins/jenkins docker run -d -p 10004:8080 -p 10005:50000 -v D:\DockerVolume\jenkins\jenkins_mount:/var/jenkins_home -v /etc/localtime:/etc/localtime --restart=always --name jenkins jenkins/jenkins
2. 访问 http://localhost:10004
查看密码,登录
cat /home/jenkins/jenkins_mount/secrets/initialAdminPassword
end
标签:10004,容器,home,jenkins,Jenkins,docker From: https://www.cnblogs.com/1285026182YUAN/p/18338846