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

https://github.com/peter-mount/jenkins

Docker image containing the current Jenkins war
https://github.com/peter-mount/jenkins

Last synced: 5 months ago
JSON representation

Docker image containing the current Jenkins war

Awesome Lists containing this project

README

          

A Jenkins server running the current war

Full documentationl: https://area51.onl/Docker/Jenkins

To add options to java when starting the server use -e JAVA_OPTS=
To add options to Jenkins use -e JENKINS_OPTS

Mountable volumes:
* /opt/jenkins - the directory where jenkins configuration is placed
* /var/run/docker.sock allows you to run docker commands within the server. Normally you'd run it with -e /var/run/docker.sock:/var/run/docker.sock and nothing else.
* /var/run/docker.sock allows you to run docker commands within the slave. Normally you'd run it with -e /var/run/docker.sock:/var/run/docker.sock and nothing else.
* When using docker you can get the container to log in (so you can deploy images from jobs) with -e DOCKER_USER=userOrOrganisation -e DOCKER_PASSWORD=password
* Optionally you can use a local docker repository when logging in by adding -e DOCKER_SERVER=hostname

JENKINS_PASSWORD=newpassword when running the image.