Docker learning notes

Docker summary Docker is an open source and lightweight container engine, which mainly runs on Linux and Windows and is used to create, manage and arrange containers. Compared with VMware virtual machine, Docker uses container to host applications instead of operating system, so it has little overhead and high performance. However, Docker's iso ...

Posted by saikiran on Thu, 27 Jan 2022 15:43:55 +0100

Using cache in Gitlab CI DinD to accelerate Docker image (multi-stage) construction process

Articles in CSDN may not be updated in time. Please follow my blog to check the latest version: Xu Sheng's blog reference resources: https://andrewlock.net/caching-docker-layers-on-serverless-build-hosts-with-multi-stage-builds—target,-and—cache-from/ https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#make-docker-in-docker-builds- ...

Posted by cs-web on Thu, 27 Jan 2022 12:05:43 +0100

Yum is too slow to bear? That's because you didn't

preface yum is a Shell front-end package manager in Fedora, RedHat and SUSE. Based on RPM package management, it can automatically download and install RPM packages from the specified server, automatically handle dependencies, and install all dependent software packages at one time without tedious downloading and installation. We usually u ...

Posted by damisi on Thu, 27 Jan 2022 08:19:35 +0100

Ansible -- ansible basic ad hoc

preface Automated operation and maintenance tool ansible 1, ansible introduction    ansible is a lightweight automatic operation and maintenance management tool developed based on python. It integrates the advantages of many operation and maintenance tools (saltstack, chef and puppet). It can be used to execute command ...

Posted by kyleldi on Thu, 27 Jan 2022 07:15:14 +0100

linux sh command details

1. Possible means of implementation Execute under linux Method of sh file The. sh file is a text file. If you want to execute it, you need to use Chmod a + X XXX sh to give executable permissions. 2. Beginning: #/ bin/sh shell programs must start with "#! / bin/sh". shell # generally means annotation, so it is often thought that &q ...

Posted by alexsaidani on Thu, 27 Jan 2022 06:13:04 +0100

Seldom 2.0 - making interface automation testing easier

preface HTTP interface testing is very simple. No matter tools, frameworks or platforms, as long as a few good points are good tools. Test data problems: for example, deleting interfaces and repeated execution can keep the results consistent. Data initialization must be done.Interface dependency: interface B depends on the return value of int ...

Posted by phpcharan on Wed, 26 Jan 2022 03:57:35 +0100

I had to know about the web service and missed losing a YI. Take you through the nginx service!

1. nginx service nginx is a high performance, lightweight web service software. nginx has high stability, low system resource consumption, and high processing power for HTTP concurrent connections. A single physical server can support 30,000 to 50,000 concurrent requests. 2. Compile and install nginx service 1. Preparing the installatio ...

Posted by nitm on Tue, 25 Jan 2022 21:37:46 +0100

Revisit Oath2 Configuration of 0

preparation Firstly, the UserDetailsService interface needs to be implemented to complete the loading of users; Note that the password here needs to be encrypted. If the database is plaintext, it needs to be encrypted and set later Furthermore, a UserDetails interface needs to be implemented to complete the external output of user informa ...

Posted by edawg on Tue, 25 Jan 2022 12:13:41 +0100

Linux system programming - (pthread) thread communication (spin lock)

1. Introduction to spin lock Spin lock will be used in both kernel programming and application layer programming; Spinlock is similar to mutex. Instead of blocking the process through sleep, it is always in a busy state (also known as spin) before obtaining the lock. Spin locks can be used when the lock is held for a short time and the thread ...

Posted by jasonok6 on Tue, 25 Jan 2022 09:30:50 +0100

page fault of linux (AMD64 Architecture)

The application or kernel runs in the virtual memory space. After kernel {startup, if a virtual address wants to access the physical memory, it needs to perform address translation through the CPU MMU hardware. The logical process of accessing the physical memory by the whole virtual address is as follows: After kernel # startup, the appli ...

Posted by Alanmoss on Tue, 25 Jan 2022 09:22:43 +0100