[英]Docker Jenkins fails to load plugins
I ran docker run jenkins
and Jenkins starts correctly but almost all plugins failed to install.我
docker run jenkins
并且 Jenkins 正确启动,但几乎所有插件都无法安装。
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
.我的不好,我使用了错误的图像 - 应该是
docker pull jenkins/jenkins
而不是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 .我在https://github.com/jenkinsci/docker/issues/787和https://jenkins.io/blog/2018/12/10/the-official-Docker-image/#official-jenkins- 中找到了答案图像到使用来自 docker-hub 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.