Skip to content

PKDSP/docker-1

 
 

Repository files navigation

CloudBees Jenkins Enterprise Docker image

This is a fully functional CloudBees Jenkins Enterprise.

CloudBees

Usage

docker run -p 8080:8080 -p 50000:50000 cloudbees/jenkins-enterprise

NOTE: read below the build executors part for the role of the 50000 port mapping.

This will store the workspace in /var/jenkins_home. 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/jenkins_home cloudbees/jenkins-enterprise

This will store the jenkins data in /your/home on the host. Ensure that /your/home is accessible by the jenkins user in container (jenkins user - uid 1000) or use -u some_other_user parameter with docker run.

You can also use a volume container:

docker run --name myjenkins -p 8080:8080 -p 50000:50000 -v /var/jenkins_home cloudbees/jenkins-enterprise

Then myjenkins container has the volume (please do read about docker volume handling to find out more).

Backing up data

See Jenkins Docker Image Documentation / Backing up data.

Setting the number of executors

See Jenkins Docker Image Documentation / Setting the number of executors.

Attaching build executors

See Jenkins Docker Image Documentation / Attaching build executors.

Passing JVM parameters

See Jenkins Docker Image Documentation / Passing JVM parameters.

Configuring logging

See Jenkins Docker Image Documentation / Configuring logging.

Passing Jenkins launcher parameters

See Jenkins Docker Image Documentation / Passing Jenkins launcher parameters.

Installing more tools

See Jenkins Docker Image Documentation / Installing more tools.

Preinstalling plugins

See Jenkins Docker Image Documentation / Preinstalling plugins.

Upgrading

See Jenkins Docker Image Documentation / Upgrading.

Support?

Contact CloudBees support at https://support.cloudbees.com

About

CloudBees Docker repository for CJE and CJOC

Resources

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Shell 96.6%
  • Groovy 3.4%