Runs a Jenkins instance with the Mesos plugin installed.
Available on the Docker Index as thefactory/jenkins-mesos:
docker pull thefactory/jenkins-mesos
- Jenkins 1.564
- Mesos plugin 0.3.0
- Mesos 0.18.2
Launch the container with a volume passed in at /jenkins
. For the Mesos plugin to register with the Mesos cluster, you will need to enable host networking with --net=host
(available in Docker 0.11+, see announcement)
Starting the container:
docker run \
--net=host \
-p 8080:8080 \
-v /var/lib/jenkins:/jenkins \
thefactory/jenkins-mesos:latest
Once the container is up, visit http://<host>:8080/
and confirm Jenkins starts properly.
To configure the Mesos plugin, go to the Jenkins configuration page (http://<host>:8080/configure
). At the bottom, click "Add a new cloud" and fill in the required settings. Set Mesos native library path to /usr/local/lib/libmesos.so
.
You can read more about configuration and usage of the Mesos plugin here.