commit | 709841cc311d907e1b596e0caf85752b83821c8a | [log] [tgz] |
---|---|---|
author | Michael Neale <michael.neale@gmail.com> | Mon Jul 14 12:16:58 2014 +1000 |
committer | Michael Neale <michael.neale@gmail.com> | Mon Jul 14 12:16:58 2014 +1000 |
tree | 18b97cd41bb5e6abc75c0f3b0f2b32ba8439cf91 | |
parent | ddcb7cc8bdb833c476cd29bde9c7525f9ab6b43c [diff] |
README run instructions
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