Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aespinosa/docker-jenkins
Builds a Docker image for Jenkins
https://github.com/aespinosa/docker-jenkins
Last synced: about 18 hours ago
JSON representation
Builds a Docker image for Jenkins
- Host: GitHub
- URL: https://github.com/aespinosa/docker-jenkins
- Owner: aespinosa
- Created: 2013-07-13T13:40:02.000Z (over 11 years ago)
- Default Branch: trunk
- Last Pushed: 2020-06-15T02:20:04.000Z (over 4 years ago)
- Last Synced: 2024-12-26T18:11:55.417Z (8 days ago)
- Language: Shell
- Homepage: https://registry.hub.docker.com/u/aespinosa/jenkins/
- Size: 53.7 KB
- Stars: 179
- Watchers: 10
- Forks: 119
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# docker-jenkins
Sets up a container with jenkins installed listening on port 8080.
## Usage
To run the container, do the following:
docker run -d -P aespinosa/jenkins
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1131d37c38b1 aespinosa/jenkins:latest java -jar /opt/jenki 12 seconds ago Up 12 seconds 0.0.0.0:49153->8080/tcp drunk_fermiYour jenkins instance is now available by going to http://localhost:49153 .
### Persistent Configuration
By default, JENKINS_HOME is set to /jenkins. The best way to persist or import configuration is to have a separate data volume for /jenkins. Below are a few references on data volumes.
* https://docs.docker.com/userguide/dockervolumes/
* http://aespinosa.github.io/blog/2014-03-05-import-jenkins-configuration-to-docker.html
* https://github.com/aespinosa/docker-jenkins/blob/master/test/jenkins_test.bats#L3## Building
To build the image, simply invoke
docker build github.com/aespinosa/docker-jenkins
A prebuilt container is also available in the docker index
docker pull aespinosa/jenkins
## Author
* Allan Espinosa ()
* Gwenn Etourneau ()## LICENSE
Copyright 2013-2016 Allan Espinosa
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.