Everytime I need to upgrade jenkins when restart docker container

27 views
Skip to first unread message

Charlie Cheng

unread,
Jan 10, 2019, 7:05:41 AM1/10/19
to Jenkins Users

Hello:


I use jenkins docker image to run the jenkins, but Everytime I stop and rm the docker container , next time when I start it again, I need upgrade jenkins, looks like below:


Dependency errors:
Some plugins could not be loaded due to unsatisfied dependencies. Fix these issues and restart Jenkins to restore the functionality provided by these plugins.

Pipeline version 2.6
You must update Jenkins from v2.121.2 to v2.130 or later to run this plugin.
Folders Plugin version 6.7
You must update Jenkins from v2.121.2 to v2.130 or later to run this plugin.


my docker run shell command is :


docker run \
--rm \
-u root \
-d \
-p 8080:8080 \
-v /Users/cccc/Github/245-docker_jenkins_blueocean/data:/var/jenkins_home \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /Users/cccc/Github/245-docker_jenkins_blueocean/reports:/reports \
jenkinsci/blueocean


and I always use this command to restart jenkins.


docker stop jenkinDockerContainerID
docker start
jenkinDockerContainerID


Baptiste Mathus

unread,
Jan 12, 2019, 4:13:36 PM1/12/19
to jenkins...@googlegroups.com
Can you please rephrase your issue?

Not sure I'm getting it. Are you updating Jenkins in place from inside the docker container/before upgrading, do you make sure to upgrade every possible plugin you're using?



--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6d8b741f-9ad8-4cac-9ca3-a16182c6469c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages