I wanted to use Jenkins with Docker, so I got a Jenkins image and used it.
FROM jenkins:alpine
Occurrence of a problem
Every time I tried to install a plugin in the Jenkins setup, I got an error.
Is there two docker images for ?
The reasons are clear
If you look at the error in the plugin, you will see this description
GitHub Branch Source Plugin v2.6.0 You must update Jenkins from v2.60.3 to v2.150.3 or later to run this plugin. GitHub plugin v1.29.5 failed to load. Fix this plugin first. I thought it was the latest version of Jenkins because it has no version tag...
When is the latest version of Jenkins? I checked the official version and found it to be "2.223"...!
Is there two docker images for ?
From that page, jump to the Docker image download page, then to the "jenkins/jenkins" page on docker hub....
Is there two docker images for ?
Ah\~. This is the official Jenkins image...
Using the official Jenkins image instead of the official Docker one worked without error!
FROM jenkins/jenkins:alpine
Is there two docker images for ?
Lessons
When I went to the official Docker Jenkins page on docker hub, it was "deprecated (DEPRECATION)"...
Is there two docker images for ?
Images alone do not convey incidental information....
From now on, I decided to check the site on docker hub once before using images.