commit | 711e12ee20898a266d7174c6a026e30e7bf3bf07 | [log] [tgz] |
---|---|---|
author | Michael Neale <michael.neale@gmail.com> | Wed Jul 16 11:02:46 2014 +1000 |
committer | Michael Neale <michael.neale@gmail.com> | Wed Jul 16 11:02:46 2014 +1000 |
tree | be32bf4f9d5f27d5fb709b4329fdfc7a9cb02585 | |
parent | 57de5eb638f3bd80e544437c3fdccf77c3343d7f [diff] |
mention slave port
The Jenkins Continuous Integration and Continuous Delivery server.
This is a fully functional Jenkins server.
Note you can run builds on the master (out of the box) buf if you want to attach build slave servers: make sure you map the port: -p 50000:50000
.
To run:
docker run -p 8080:8080 jenkins
This will store the workspace in /var/jenkins_home. All Jenkins data lives in there - including plugins and configuration. You will probably want to make that 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