Skip to content

Jenkins with Docker & Docker Compose binaries for use with the host's Docker installation

Notifications You must be signed in to change notification settings

jjlin/jenkins-docker

Repository files navigation

Image Build Status Docker Image Size

This image consists of the official Jenkins LTS image with Docker and Docker Compose binaries included for use with the host's Docker installation. It is automatically built using GitHub Actions whenever the parent image is updated (checked 4 times per day).

This setup is useful if you want a Dockerized Jenkins to be able to create new Docker containers for build purposes, without the pitfalls of running Docker-in-Docker.

Example:

docker run -itd --restart=always \
           -p 8080:8080 -p 50000:50000 \
           -v /var/run/docker.sock:/var/run/docker.sock \
           -v /etc/localtime:/etc/localtime:ro \
           -e JAVA_OPTS="-Duser.timezone=Antarctica/South_Pole" \
           --name jenkins-docker jjlin/jenkins-docker

About

Jenkins with Docker & Docker Compose binaries for use with the host's Docker installation

Topics

Resources

Stars

Watchers

Forks