Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Jenkins

Sets up a container with jenkins installed listening on port 8080. With docker nuild support

Usage

To run the container, do the following:

docker run -d -p 80:8080 -v $local_dir:/jenkins -v /var/run:/var/run ovitasno/jenkins

docker ps
CONTAINER ID        IMAGE                       COMMAND                CREATED             STATUS              PORTS                     NAMES
1131d37c38b1        ovitasno/jenkins:latest    java -jar /opt/jenki   12 seconds ago      Up 12 seconds       0.0.0.0:80->8080/tcp   drunk_fermi

Your 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.

Docker Pull Command
Owner
ovitasno

Comments (0)