elebeaup / dind-jenkins-slave

Docker-in-Docker Jenkins Slave

Home Page:http://dantehranian.wordpress.com/2014/10/25/building-docker-images-within-docker-containers-via-jenkins/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


A Docker image which allows for running Docker in Docker (DinD). This image is meant to be used with the Jenkins Docker plugin. It allows for Docker containers used as Jenkins build slaves to create and publish their own Docker images in-turn.

This is a mashup of "evarga/jenkins-slave" and "jpetazzo/dind".


  • The container must be run with --privileged in order for nested-Docker to work. There is a check box to enable this for the image within the Jenkins UI.


I have a write-up of how to use Docker containers as build slaves within Jenkins at: http://dantehranian.wordpress.com/2014/09/08/docker-jenkins-dynamically-provisioning-sles-11-build-containers/

Once your Jenkins slave is up and running, you can run docker commands like docker build, docker pull, and docker push from within the Docker build slave container.

Misc References

ezoic increase your site revenue


Docker-in-Docker Jenkins Slave


License:MIT License


Language:Shell 100.0%