Uses the Alpine image and sets up a container with Jenkins installed.
Just intended to a small master image to avoid bloated containers. Mostly intended to leverage other containers as slaves.
Imagine a list of links here that go to other docker container repo that have really specific and interesting purposes!
docker run -p 8080:8080 -p 50000:50000 jenkins
This will store the workspace in /var/lib/jenkins. All Jenkins data lives in there - including plugins and configuration. You will probably want to make that a persistent volume (recommended):
docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/lib/jenkins jenkins
You can also use a volume container:
docker run --name myjenkins -p 8080:8080 -p 50000:50000 -v /var/lib/jenkins jenkins
To build the image, do the following:
docker build -t jenkins-alpine:latest .
A prebuilt container is available in the docker index.
docker run -p 8080:8080 -p 50000:50000 jenkins-slave:latest
Based from this image:
% docker pull hearstat/alpine-jenkins
This code is released into the public domain by Guillem Hernández Sola under
This README file was originally written by Guillem Hernández Sola and is likewise released into the public domain.
Please contact Guillem Hernández Sola for further details.
Content type
Image
Digest
Size
172.4 MB
Last updated
about 9 years ago
docker pull itnove/jenkins-alpine