Sign inSign up

evry/dind-jenkins-slave

By evry

•Updated almost 9 years ago

Docker-in-Docker Jenkins Slave

Image
0

170

evry/dind-jenkins-slave repository overview

⁠dind-jenkins-slave

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⁠".

⁠Requirements

  • 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.

⁠Instructions

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

Tag summary

Content type

Image

Digest

Size

168 MB

Last updated

almost 9 years ago

docker pull evry/dind-jenkins-slave