blob: 4116d8a1c157d43f9e78b4616acca0b18498ed30 [file] [log] [blame] [view]
Michael Neale2dedbdb2014-07-09 16:58:10 +10001# This is a WIP
2
Michael Neale71eb3ab2014-07-09 18:04:01 +10003Will likely form the basis of the official jenkins-ci image. Still working on it.
4
5To run:
6
7```
8docker run -it -p 8080:8080 jenkins
9```
10
11To use a persistent volume
12
13```
14docker run -it -p 8080:8080 -v /your/home:/var/lib/jenkins/home jenkins
15```
16
17You can also specify that it will run under the jenkins user:
18
19```
20docker run -it -u jenkins -p 8080:8080 -v /your/home:/var/lib/jenkins/home jenkins
21```
22
23Ensure that /your/home is accessible by the jenkins user in container (jenkins user - uid 102 normally)