Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.24 KB

README.md

File metadata and controls

14 lines (10 loc) · 1.24 KB

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