lts
1 file changed
tree: ad4afec4bbd38200c1888ab9a22c36d496bcd365
  1. lts/
  2. Dockerfile
  3. README.md
README.md

This is a WIP

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