您的位置:首页 > 运维架构 > Docker

使用Docker快速搭建Jenkins

2018-09-18 19:57 316 查看

1.配置docker swarm环境

参考:https://www.cnblogs.com/yjb007/p/9669908.html

2.安装Jenkins

yum update -y nss curl libcurl
mkdir -p /soft/
cd /soft/
git clone https://github.com/yjb007/jenkins.git
cd jenkins
sh build.sh
mkdir -p /srv/volume/jenkins
sh service.sh

3.访问Jenkins: http://jenkins.local.com:8080

10.1.1.238 jenkins.local.com
#需要在hosts文件中绑定域名IP地址
阅读更多
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: