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
Preface After MySQL version 3.23.44, InnoDB engin...
Table of contents 1. Introduction to basic concep...
Problem Description As we all know, when writing ...
Some time ago, I needed to use pip downloads freq...
apache: create virtual host based on port Take cr...
1. Write a backup script rem auther:www.yumi-info...
This article uses examples to illustrate the func...
Including the use of check boxes and radio buttons...
This article shares two methods of implementing t...
1. Do a good job of cleaning before installation ...
1.service command The service command actually go...
Copy code The code is as follows: <html> &l...
Tomcat server is a free and open source Web appli...
Table of contents 1. Understanding the Equality R...
Table of contents Component Communication Introdu...