您的位置:首页 > 手游攻略 > windows安装jenkins(docker安装)

windows安装jenkins(docker安装)

作者:互联网  时间: 2026-08-07 14:04:57  

install Docker

System Requirements:

Windows 10 64bit: Pro, Enterprise or Education (Build 15063 or later).

Virtualization is enabled in BIOS. Typically, virtualization is enabled by default. This is different from having Hyper-V enabled. For more detail see Virtualization must be enabled in Troubleshooting.

CPU SLAT-capable feature.

At least 4GB of RAM.

download DockerCE for windows

image

install jenkins

用cmd命令窗口执行下述命令

docker run ^--rm ^-u root ^-p 8080:8080 ^-v jenkins-data:/var/jenkins_home ^-v /var/run/docker.sock:/var/run/docker.sock ^-v "%HOMEPATH%:/home ^jenkinsci/blueocean#"%HOMEPATH%"为用户目录

执行完毕后访问 http://127.0.0.1:8080

image

提示需要通过日志访问密码

image

image

使用Maven构建流水线

-u root ^--rm ^-d ^-p 8080:8080 ^-p 50000:50000 ^-v jenkins-data:/var/jenkins_home ^-v /var/run/docker.sock:/var/run/docker.sock ^jenkinsci/blueocean

最新游戏

更多

Copyright©2010-2019. All rights reserved | 波波三国游戏官网|[email protected]

备案编号:湘ICP备2022015115号-4