$ docker pull jenkins/jenkins:lts $ docker run -d -v jenkins_home:/var/jenkins_home -p 8080:8080 -p 50000:50000 jenkins/jenkins:lts
Tip: you can disable the first-run setup wizard with the following environment variable:
You can also set the initial admin password to an arbitrary value by setting the following environment variable:
Various Vagrant boxes can be found readymade on the Vagrant public catalog based on various base images such as Ubuntu and Centos with Jenkins installed ontop. Or you can create one using a Vagrantfile like below. For instruction on installing Jenkins and Jenkins Job Builder see links.