Skip to content

Based on jenkins official image: "jenkins/jenkins:lts-alpine"

Notifications You must be signed in to change notification settings

arzyu/jenkins-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

使用 docker 搭建 jenkins 服务

Requirements

  • docker
  • docker-compose

Usage

运行服务

docker-compose up -d

访问 http://localhost:8080 进入 jenkins 页面。

注意:首次进入 jenkins 页面时,需要进行一些设置,从 home/secrets/initialAdminPassword 文件中获取初始管理密码。

升级 jenkins

# 拉取最新镜像
docker pull jenkins/jenkins:lts-alpine

# 使用新镜像重启服务
docker-compose up -d --force-recreate

About

Based on jenkins official image: "jenkins/jenkins:lts-alpine"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published