commit | ddcb7cc8bdb833c476cd29bde9c7525f9ab6b43c | [log] [tgz] |
---|---|---|
author | Michael Neale <michael.neale@gmail.com> | Mon Jul 14 12:01:49 2014 +1000 |
committer | Michael Neale <michael.neale@gmail.com> | Mon Jul 14 12:01:49 2014 +1000 |
tree | 080048abacf96ebfdf25f0782912dc6f0d575e2e | |
parent | add9dc6c1a1a63fddc087ef2cb69937ab6b01aba [diff] |
corrected CMD and updates as per advice
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/jenkins_home
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)