Jenkins with Docker-in-Docker support and plugin bundle
3.9K
A custom Jenkins image based on jenkins/jenkins:latest that includes:
docker build, docker run, etc.This image is ideal for environments where Jenkins needs to interact with Docker without extra configuration.
jenkins/jenkins image.get.docker.com).jenkins user is added to the docker group.plugins.txt file.The plugin list is managed in plugins.txt. Key plugins include:
You can easily add or remove plugins by modifying plugins.txt.
docker build -t <your-tag> .
docker run -p 8080:8080 -p 50000:50000 <your-tag>
services:
jenkins:
image: pjmeca/jenkins
privileged: true
user: root
container_name: jenkins
restart: unless-stopped
ports:
- 8080:8080 # Change this (optional)
- 50000:50000 # Change this (optional)
volumes:
- /opt/docker:/opt/docker:ro
- /var/run/docker.sock:/var/run/docker.sock
- /usr/bin/docker:/usr/bin/docker
- /store/your/jenkins/home:/var/jenkins_home # Change this
This compose example runs Jenkins as root with Docker access, mapping the Docker socket and binaries for building images inside pipelines. Ports are mapped to your host, and persistent storage is configured under
/store/your/jenkins/home.
Content type
Image
Digest
sha256:7e898d7a5…
Size
469.8 MB
Last updated
1 day ago
docker pull pjmeca/jenkins