Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/timo-reymann/jenkinsciwithdockerintegration

Jenkins on docker with support to use docker in the image it self for your builds.
https://github.com/timo-reymann/jenkinsciwithdockerintegration

ci docker docker-image dockerfile jenkins jenkins-ci

Last synced: 4 months ago
JSON representation

Jenkins on docker with support to use docker in the image it self for your builds.

Awesome Lists containing this project

README

        

JenkinsCIWithDockerIntegration
=============================
![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/timoreymann/jenkins-ci-with-docker)

# Why this image?
There already thousands of jenkins images, why you must make your own, come on ...

because i want to run docker in an docker container where jenkins is running. And i wanted full control :)

# How to use this?
Sample docker-compose.yml

````
version: '3.2'
services:
jenkins:
image: timoreymann/jenkins-ci-with-docker
restart: always
ports:
# Port for web ui
- 8080:8080
# Port used by jenkins
- 50000:50000
volumes:
# Jenkins data directory
- jenkins_home:/var/jenkins_home
# Link docker from host to container to reuse installed docker ;)
- /var/run/docker.sock:/var/run/docker.sock
volumes:
# Create docker volume for jenkins data previously mentioned in volumes
jenkins_home:
driver: local
````

## Further steps
Just open your web browser and follow the install guide. Nothing else is to do.

## Backup
To backup jenkins simply backup the docker volume.