Docker Jenkins 无法加载插件

sas*_*alm 4 jenkins docker

我跑了docker run jenkins,Jenkins 正常启动,但几乎所有插件都安装失败。

在日志中,我收到了这样的错误:

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.
Run Code Online (Sandbox Code Playgroud)

sas*_*alm 12

我的错,我使用了错误的图像 - 它应该是docker pull jenkins/jenkins而不是docker pull jenkins. 我在https://github.com/jenkinsci/docker/issues/787https://jenkins.io/blog/2018/12/10/the-official-Docker-image/#official-jenkins- 中找到了答案图像到使用来自 docker-hub