commit | 09d4e7149edcb4b91572334a88c6710ab0b7e91b | [log] [tgz] |
---|---|---|
author | Michael Neale <michael.neale@gmail.com> | Tue Jul 15 19:27:08 2014 +1000 |
committer | Michael Neale <michael.neale@gmail.com> | Tue Jul 15 19:27:08 2014 +1000 |
tree | ad4afec4bbd38200c1888ab9a22c36d496bcd365 | |
parent | 709841cc311d907e1b596e0caf85752b83821c8a [diff] |
lts
Will likely form the basis of the official jenkins-ci image. Still working on it.
To run:
docker run -p 8080:8080 jenkins
To use a persistent volume
docker run --name myjenkins -p 8080:8080 -v /var/jenkins_home jenkins
The volume for the "myjenkins" named container will then be persistent.
You can also bind mount in a volume from the host:
First, ensure that /your/home is accessible by the jenkins user in container (jenkins user - uid 102 normally - or use -u root), then:
docker run -p 8080:8080 -v /your/home:/var/jenkins_home jenkins