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
- Host: GitHub
- URL: https://github.com/peter-mount/jenkins
- Owner: peter-mount
- Created: 2016-07-06T12:55:45.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-08-06T23:06:37.000Z (almost 6 years ago)
- Last Synced: 2024-12-06T21:38:25.883Z (over 1 year ago)
- Language: Shell
- Size: 55.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.