commit | 71eb3ab2d140cddb6a6aa2eb9f6bc17e3d657695 | [log] [tgz] |
---|---|---|
author | Michael Neale <michael.neale@gmail.com> | Wed Jul 09 18:04:01 2014 +1000 |
committer | Michael Neale <michael.neale@gmail.com> | Wed Jul 09 18:04:01 2014 +1000 |
tree | f24a9f0d49e7d27415d3f21cb912597180c8f6f0 | |
parent | 2dedbdb08431feaa2c5a6932122d6a44a0938023 [diff] |
slowly getting there
Will likely form the basis of the official jenkins-ci image. Still working on it.
To run:
docker run -it -p 8080:8080 jenkins
To use a persistent volume
docker run -it -p 8080:8080 -v /your/home:/var/lib/jenkins/home jenkins
You can also specify that it will run under the jenkins user:
docker run -it -u jenkins -p 8080:8080 -v /your/home:/var/lib/jenkins/home jenkins
Ensure that /your/home is accessible by the jenkins user in container (jenkins user - uid 102 normally)