Public Repository

Last pushed: 2 years ago
Short Description
Latest Jenkins which runs as root in order to allow it to work with volumes in Kubernetes
Full Description

Trying to run the default Jenkins image (or jenkinsci/jenkins) with a persistent volume mounted to /var/jenkins_home will currently fail:

2016-06-10T13:46:55.617454157Z touch: cannot touch ‘/var/jenkins_home/copy_reference_file.log’: Permission denied
2016-06-10T13:46:55.617955276Z Can not write to /var/jenkins_home/copy_reference_file.log. Wrong volume permissions?

The reason? Kubernetes volumes are currently mounted with root ownership and Jenkins runs as "jenkins" by default ( The temporary workaround runs Jenkins as root - I don't advise production use unless you know what you're doing and have full control of the code you are building.

Currently there's a proposal for file system group permissions. More info here:

Docker Pull Command