How to use Jenkins docker image to run Jenkins master
How to use Jenkins docker image as a master and as a build node. In the recent past, Containerization is becoming very popular. Docker is a very prominent player in the field of containerization. Today I am going to show step by step procedure on how to use a docker image for both Jenkins master and node. Also, I am going to address a few known issues and how to find a workaround for them. In the tutorial, I will use the Jenkins version jenkins/jenkins:2.107.3. Pull the image from docker hub $ docker pull jenkins/Jenkins:2.107.3 Note that the dockerized Jenkins will use /var/jenkins_home as Jenkins home. If you want to change this you have to edit the docker file provided by the docker hub, which was used to build the image jenkins/jenkins:2.107.3. I will not cover that in the tutorial. The additional steps we are doing on top of the base image Jenkins/jenkins:2.107.3 1. Customize the Jenkins docker image with additional packages and new users ...