Unable to install suggested plugins of jenkins on docker

眉间皱痕 提交于 2020-01-24 09:32:16

问题


I had launched jenkins through docker, it has been launched in administrator mode. After entering password when i selected to install suggested plugin it fails with most of the installation. Post that when i created jenkins user and navigated to jenkins home page it displays errors as shown in below screenshot.

Installed docker and jenkins through below commands

sudo yum install docker-ce

systemctl start docker

docker pull Jenkins

docker run -p 8080:8080 jenkins

Also when i go to manage jenkins and trying to install some other plugins like Git, it fails. I am not sure what is wrong with it? Why installation is failing.

Below is the log being printed by jenkins while installation.

Also below is the screenshot of warning mesage i am getting while installing through plugin manager


回答1:


I had the same issue when using the latest weekly, so I suggest to use the lts since when specify jenkins in your command you are pulling latest weekly

run your command like this:

docker pull jenkins/jenkins:lts
docker run -p 8080:8080 jenkins/jenkins:lts

see jenkins



来源:https://stackoverflow.com/questions/56849717/unable-to-install-suggested-plugins-of-jenkins-on-docker

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!