详情

首页手游攻略 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

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

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

使用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
相关资讯
点击查看更多
游戏推荐
推荐专题
热门阅读
推荐下载