Jenkins Docker
Jenkins 使用docker 安装
jenkins 容器安装
docker run --name jenkins -itd \
-p 8081:8080 \
-p 50000:50000 \
-v ~/jenkins:/var/jenkins_home \
jenkins/jenkins:lts
docker logs -f jenkins #查看日志并获取初始化密码
jenkins 容器安装
docker run --name jenkins -itd \
-p 8081:8080 \
-p 50000:50000 \
-v ~/jenkins:/var/jenkins_home \
jenkins/jenkins:lts
docker logs -f jenkins #查看日志并获取初始化密码