Public | Automated Build

Last pushed: a year ago
Short Description
Docker image to run an out of the box Jenkins.
Full Description

partlab/ubuntu-jenkins

Docker image to run an out of the box Jenkins.

Usage

Build

$ docker build -t partlab/ubuntu-jenkins .

Download automated build

$ docker pull partlab/ubuntu-jenkins

Running the Jenkins server

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

Running the Jenkins server with persistent directory

$ docker run -d -p 8080:8080 -p 50000:50000 --name jenkins -v <data-dir>:/var/jenkins partlab/ubuntu-jenkins

Tips

VirtualBox (boot2docker-vm)

$ boot2docker halt
$ VBoxManage modifyvm boot2docker-vm --natpf1 "tcp-port8080,tcp,,8080,,8080"
$ VBoxManage modifyvm boot2docker-vm --natpf1 "tcp-port50000,tcp,,50000,,50000"
$ boot2docker up
Docker Pull Command
Owner
partlab
Source Repository

Comments (1)
seti
3 years ago

thx for sharing, is a nice image, easy to use. there is just one thing, ssh seems to be missing if using an ssh url for git.
do you add this, or should i build my own image based on yours?