简体   繁体   中英

Docker Jenkins fails to load plugins

I ran docker run jenkins and Jenkins starts correctly but almost all plugins failed to install.

In the log I got errors like this one:

SEVERE: Failed to install Folders
java.io.IOException: Failed to dynamically deploy this plugin
Caused by: java.io.IOException: Failed to install cloudbees-folder plugin
Caused by: java.io.IOException: Folders Plugin v6.11.1 failed to load.
 - You must update Jenkins from v2.60.3 to v2.138.4 or later to run this plugin.

My bad, I was using the wrong image - it should be docker pull jenkins/jenkins instead of docker pull jenkins . I found the answer in https://github.com/jenkinsci/docker/issues/787 and https://jenkins.io/blog/2018/12/10/the-official-Docker-image/#official-jenkins-image-to-use-from-docker-hub .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM