Public | Automated Build

Last pushed: 2 years 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