Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
$ 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: 

Code Block

You can also set the initial admin password to an arbitrary value by setting the following environment variable: 

Code Block
JENKINS_OPTS=--argumentsRealm.roles.user=admin --argumentsRealm.passwd.admin=insecurepassword --argumentsRealm.roles.admin=admin

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 ontopOr you can create one using a Vagrantfile like below. For instruction on installing Jenkins and Jenkins Job Builder see links.