SSM foundation Spring IOC container
IOC
What is IOC? IOC(Inverse of Control) is a design principle in object-oriented programming, which can be used to reduce the coupling between computer codes. Reverse the creation power of objects to the Spring framework!
In java, if a class wants to use the method of another class, it must create the object of this class in this class. ...
Added by veluit06 on Sat, 19 Feb 2022 19:25:17 +0200
Kubernetes notes storage
There are Volume and Mount concepts in the operating system.
Volume: represents the logical abstraction of physical storageMount: Mount external storage into the system and container.
In order to solve the data storage of containers, kubernetes also introduces the concept of Volume. Kubernetes divides Volume storage into ordinary non pers ...
Added by Santonian on Mon, 14 Feb 2022 15:23:26 +0200
BumbleBee: build, deliver and run eBPF program smoothly like silk
Address: https://www.ebpf.top/post/bumblebee
1. Preface
not long ago, Solo.io The company announced open source on its official website blog, with a name of BumbleBee New project. The project focuses on simplifying the threshold for building eBPF tools and optimizing the use experience by packaging eBPF programs into OCI image , building, d ...
Added by DannyTip on Mon, 14 Feb 2022 03:00:34 +0200
Docker Compose rapid deployment of multi Container Services
1 what is Docker Compose
When we define the container, we use the command of Docker and build Docker, and then use the command of Docker. However, the application system of microservice architecture generally includes several microservices, and each microservice will generally deploy multiple instances. If each microservice needs to be started ...
Added by codeman on Sun, 13 Feb 2022 15:55:07 +0200
Docker FAQ
1, Docker new port mapping
1. Introduction
When docker run creates and runs containers, you can specify port mapping rules through - p. However, once the container is generated, no command can be modified directly. Generally, there are two ways to add or modify mapping ports. The environment here is Ubuntu 20 04
New containerModify conta ...
Added by eashton123 on Sun, 13 Feb 2022 02:00:38 +0200
docker's network (native network and custom network) 9
#This article is about the network communication between multiple containers of a single machine and the network communication across host containers
docker native network
Delete the unused network. The parameter prune is available in every docker instruction.
[root@docker1 harbor]# docker network prune
Are you sure you want to continue? [ ...
Added by jay_bo on Sat, 12 Feb 2022 17:21:10 +0200
[accompanying notes] detailed records of Docker installation postgres database
Record in detail the detailed process of installing postgres data in the Docker environment under macOS, and record the installation steps and problems.
postgres installation
First, use the command to pull the image of postgres
$ docker pull postgers
Using default tag: latest
latest: Pulling from library/postgres
5eb5b503b376: Pull compl ...
Added by Ulujain on Fri, 11 Feb 2022 04:04:01 +0200
Use of C++ STL list
C++ list usage
general
Defined in the header file < list >, std::list is a container that supports constant time to insert and remove elements from any location of the container. Fast random access is not supported. It is usually implemented as a two-way linked list. With STD:: forward_ Compared with list, this container prov ...
Added by J4rod on Tue, 08 Feb 2022 07:00:24 +0200
How to use Buildah to build your own container on Linux
Containers run in the cloud because container technology allows websites and Web applications to produce new copies as demand increases. They are the reason why hundreds of millions of people can use popular websites without causing them to collapse under the pressure of global traffic.
Containers are a kind of Linux technology, which means th ...
Added by mgrphp on Mon, 07 Feb 2022 20:50:22 +0200
docker common image installation startup summary
prepare
When installing the docker image, first go to the docker hub to find the corresponding official image, then select the version, and then start the image according to the command in the description
docker official website address: https://hub.docker.com/
Common commands
Pull image docker pull image name: image version (do not wri ...
Added by skope on Mon, 07 Feb 2022 05:16:34 +0200