After reading this article, you can thoroughly understand Dockerfile
Dockerfile function:
Dockerfile is a "command file" used in Docker to install all dependencies of the project with one click. It is written according to the official requirements of Docker. During build, it will execute step by step according to similar shell commands and build an image;
explain:
From the perspective of applicatio ...
Added by XeRoZeN on Mon, 17 Jan 2022 16:59:07 +0200
WSL2 uses Docker to run ManageIQ (including Systemctl installation, script configuration agent and Docker port mapping)
WSL2 uses Docker to run ManageIQ (including Systemctl installation, script configuration agent and Docker port mapping)
Use the image provided by the ManageIQ project on the Docker Hub to test the ManageIQ running in the Docker container. It solves some problems in using WSL2: starting with systemd, accessing the host windows agent in WSL2, in ...
Added by jarriola on Mon, 17 Jan 2022 13:29:47 +0200
Dockerfile image construction practice
Image production specification
First create the most common layer, and each subsequent image depends on the previous parent image.
Build images hierarchically and deploy tomcat high availability
tomcat1, nginx1, haproxy1 and keepalived1 are deployed on the 10.0.0.51 node tomcat2, nginx2, haproxy2 and keepalived2 are deployed on the 10.0.0. ...
Added by johnnyblaze9 on Mon, 17 Jan 2022 13:12:01 +0200
C + + container - set & map
Content reference: https://www.bilibili.com/video/BV1et411b73Z?p=231
set / multiset container
set container
Basic concepts
Introduction: all elements are automatically sorted when inserted Essence: set / multiset is an associative container, and the underlying structure is implemented by binary tree
Difference between set and multiset
s ...
Added by nankoweap on Mon, 17 Jan 2022 03:27:48 +0200
Design pattern series (Dahua design pattern c + +) - observer pattern
Schema definition
Let's take a look at the definition of observer mode in Dahua design mode: it is also called publish subscribe mode, which defines a one to many dependency, allowing multiple observer objects to listen to a topic object at the same time. When the status of the topic object changes, it will notify all observer objects, Yes ...
Added by shezz on Sun, 16 Jan 2022 17:28:21 +0200
Only cluster series will be deployed - Istio service deployment and traditional traffic scheduling
catalogue
1. Service Grid
2. Open source implementation
2, Istio service deployment
1. Installing Istio
2. Installing istio components
3, Flow trend of traditional mode
1. Scene 1
2. Resource list
3. Operation implementation
4, Analyze the default traffic scheduling mechanism under
1. Detailed explanation of cluster traffic schedulin ...
Added by djjamiegee on Sat, 15 Jan 2022 18:40:27 +0200
Container orchestration of microservices using docker compose
I've given you a simple Got to know docker , and how Create an image through dockerfile , and Push image to private warehouse . This article briefly talks about using docker compose to make a simple container arrangement
What is container orchestration
Our application system may create multiple images according to different dependent tools, ...
Added by tyson on Fri, 14 Jan 2022 09:25:22 +0200
Fast writing method of SpringBoot unit test based on link idea
Author Tao FuSource: Ali technical official accountintroduction:This paper prefers practice rather than methodology. The writing method of SpringBoot unit test mentioned in this paper is not an official solution, but a writing method that the author thinks is more convenient and efficient. Each team and even each developer in the team may have ...
Added by Coco on Thu, 13 Jan 2022 20:56:31 +0200
Java container (Java container is basically complete), with source code explanation, collection, synchronization class container, concurrency container and queue
Collection & Container
Container: structures that store data in memory, such as arrays and collections, are memory structures that use various data structures to store dataCollection: different from array, array stores the same type of data with length limit. Most sets have no length limit, such as LinkedList. In theory, linked list data ...
Added by RockyShark on Thu, 13 Jan 2022 14:04:05 +0200
Docker container network mode and data management
1, Docker container operation
1. Container creation
The process of loading a mirror into a container. The newly created container is stopped by default and does not run any program. A process needs to be initiated to start the container
format∶docker create [option]
Common options for mirroring∶
-i∶Keep the input of the container open
...
Added by guru2k9 on Thu, 13 Jan 2022 04:22:53 +0200