Sign inSign up

tehranian/dind-jenkins-slave

By tehranian

•Updated almost 9 years ago

Image
15

500K+

tehranian/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

sha256:97b83359f…

Size

171.3 MB

Last updated

almost 9 years ago

docker pull tehranian/dind-jenkins-slave