Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.04 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.04 KB

Custom docker offical jenkins images

If you are ready to use docker official jenkins images, but you can not automatically create an administrator account, and preinstall some plugins you like. The repo will help you to achieve your goal.

After run this image, you will get a customized official jenkins application mounted on the docker container. Meanwhile, you will get an initialized administator account(admin/admin), and some preinstall plugins.

Usage

$ docker run -d --name jenkins -p 8080:8080 -p 50000:50000 zhijunzhou/jenkins

Default Administrator Account

username: admin password: admin

View jenkins logs

$ docker logs jenkins

Stop jenkins instance

$ docker stop jenkins
$ docker rm jenkins
// remove unused containers and images
$ docker system prune
// remove images
$ docker rmi cjenkins

Reference from

geerlingguy/ansible-role-jenkins#50

docker hub

https://hub.docker.com/r/zhijunzhou/jenkins/