Jenkins is an open source software project. It is a continuous integration tool developed based on Java. It is used to monitor continuous repetitive work. It aims to provide an open and easy-to-use software platform to make continuous integration of software possible. Basic working principle of Jenkins The above is the basic working principle, just for developers to better understand the drawing (personal understanding), for details, please refer to the official document: https://www.jenkins.io/zh/ 1. Jenkins installation1. Find and download the jenkins image file Start Docker and search for the Jenkins image file
Download the Jenkins image file
2. Create a Jenkins mount directory and grant permissions so that we can easily modify the configuration files in the container.
3. Create and start the Jenkins container
4. Check whether Jenkins is started successfully. If the port number appears as shown in the figure below, it means that it is started successfully.
5. View Docker container logs
6. Configure image acceleration and enter the cd /data/jenkins_home directory
Modify the content in hudson.model.UpdateCenter.xml
Before modification: Change the URL to the official mirror of Tsinghua University: https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json 7. Visit the Jenkins page and enter your IP plus 8090 8. To obtain the administrator password, edit the initialAdminPassword file and enter the password you logged in with to start using it.
The above is the detailed content of the detailed tutorial on installing Jenkins with Docker, which is a must-read for novices. For more information about installing Jenkins with Docker, please pay attention to other related articles on 123WORDPRESS.COM! You may also be interested in:
|
>>: 52 SQL statements to teach you performance optimization
Hexadecimal code table of various colors [Part 1] ...
Good morning everyone, I haven’t updated my artic...
Recently, when I was working on my "Football...
Table of contents Index Model B+Tree Index select...
Preface I recently used :first-child in a project...
1. Install Docker on the server yum install docke...
Let's take a look at the process of installin...
This article example shares the specific code of ...
Table of contents 1. fill() syntax 2. Use of fill...
<br />With the increase of bandwidth, there ...
How to use CSS to control the arc movement of ele...
Recently Microsoft released Windows Server 2016, ...
Table of contents 1. Communication method between...
Table of contents 1. Content Overview 2. Concepts...
Preface Docker has been very popular in the past ...