Public | Automated Build

Last pushed: 8 months ago
Short Description
Jenkins Docker-in-Docker agent
Full Description

Jenkins Docker-in-Docker Agent

A simple Docker image for running a Jenkins agent alongside its very
own Docker daemon. This is useful if you're trying to run Jenkins agents on a
Mesos cluster, and you also want to build and push Docker images using your
CI system.

For full documentation on how to use this Docker image, please refer to


Command line

Try it out locally by running the following command:

docker run --privileged mesosphere/jenkins-dind:0.5.0-alpine \ "java -version && docker run hello-world"


You'll need to configure the Mesos plugin on your Jenkins master to use this
image. You'll probably also want to give it a special slave label, so that you
don't unnecessarily run builds using the dind image. A relevant snippet of the
Mesos plugin within the Jenkins master's config.xml follows:

    -Xms16m -XX:+UseConcMarkSweepGC
Docker Pull Command