This repository is no longer used.
This is a fully functional CloudBees Jenkins Enterprise.
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 an explicit volume so you can manage it and attach to another container for upgrades :
docker run -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home cloudbees/jenkins-enterprise
this will automatically create a 'jenkins_home' volume on docker host, that will survive container stop/restart/deletion.
Avoid using a bind mount from a folder on host into /var/jenkins_home
, as this might result in file permission issue. If you really need to bind mount jenkins_home, ensure that directory on host is accessible by the jenkins user in container (jenkins user - uid 1000) or use -u some_other_user
parameter with docker run
.
See Jenkins Docker Image Documentation / Backing up data.
See Jenkins Docker Image Documentation / Setting the number of executors.
See Jenkins Docker Image Documentation / Attaching build executors.
See Jenkins Docker Image Documentation / Passing JVM parameters.
See Jenkins Docker Image Documentation / Configuring logging.
See Jenkins Docker Image Documentation / Passing Jenkins launcher parameters.
See Jenkins Docker Image Documentation / Installing more tools.
See Jenkins Docker Image Documentation / Preinstalling plugins.
See Jenkins Docker Image Documentation / Upgrading.
Contact CloudBees support at https://support.cloudbees.com