Skip to content

ellneal/vagrant-jenkins-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant + Jenkins + Docker

This script will setup a VM that has docker preinstalled and configured. A jenkins instance will be run in a container on startup, which has access to the docker binary for use inside jenkins scripts.

While the VM is running jenkins will be available on localhost:8980.

Setup

Simply clone this repository and cd into the directory. Make sure you have vagrant and VirtualBox installed, and the vagrant-vbguest plugin is available. Then run vagrant up.

$ cd path/to/repository
$ vagrant plugin install vagrant-vbguest
$ vagrant up

Jenkins Persistence

Jenkins will persist to the filesystem, which is setup as a shared folder named jenkins_home. You can safely destroy the virtual machine without losing any of your work inside jenkins.

About

A Vagrantfile and setup to create a VM with a jenkins container that has access to docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published