Sign inSign up

pcamelo/jenkins-dind

By pcamelo

•Updated over 1 year ago

Custom Jenkins Docker image with Docker-in-Docker (DinD) support.

Image
Security
Integration & delivery
Monitoring & observability
0

2.4K

pcamelo/jenkins-dind repository overview

⁠Jenkins DinD (Docker-in-Docker)

This project extends the official Jenkins LTS image by adding support for running Docker commands inside the Jenkins container (Docker-in-Docker).

⁠How It Works

The custom Jenkins image includes the following modifications:

  • Installs Docker CLI inside the Jenkins container.
  • Adds the jenkins user to the docker group, allowing it to run Docker commands.

⁠Usage

To run this image, run:

docker run --name jenkins-dind --rm -d \
  --privileged \
  -p 8080:8080 -p 50000:50000 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  pcamelo/jenkins-dind:lts

⁠CI/CD Pipeline

This repository uses GitHub Actions for CI/CD. Each time a new tag is pushed, a new version of the Jenkins DinD image is built and pushed automatically to Docker Hub with a maximum delay of 24h since its release.

Tag summary

Content type

Image

Digest

sha256:caf906cea…

Size

356.5 MB

Last updated

over 1 year ago

docker pull pcamelo/jenkins-dind