Detailed installation of docker
1, Disposition
Linux: CentOS-7-x86_64-DVD-1810.iso
2, Installation
1. If you have previously installed an older version of Docker, you can uninstall it using the following command:
yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest ...
Posted by richei on Sat, 06 Nov 2021 07:43:02 -0700
PHP container and the idea of dependency injection
Dependency injection
When class a needs to rely on class B, that is, it needs to instantiate class B objects in class A for use, if the functions in class B change, the places where class B is used in class a will also be modified, resulting in high coupling between Class A and class B. The solution at this time is that class A should rely o ...
Posted by le007 on Thu, 04 Nov 2021 17:24:58 -0700
Container data volumes - named mount and anonymous mount
What is a container data volume
Container data volume is the mounting of the directory. Mount the directory of our container on the host, so as to realize the file sharing function between the host and the container;
Why container data volumes
docker's idea is to package the application and environment into a mirror image; But what about the ...
Posted by skali on Sun, 31 Oct 2021 18:29:58 -0700
docker common commands
What is docker
Docker's idea comes from the container. What problem does the container solve? In a large ship, the goods can be placed neatly. And all kinds of goods are standardized by containers, and containers will not affect each other. Then I don't need a ship for fruit and a ship for chemicals. As long as the goods are well sealed in the ...
Posted by sdm on Sun, 31 Oct 2021 18:07:11 -0700
C++ list container details
Basic concept of list container
Concept: list is a data structure that stores data in a chain, which is called a linked list
Linked list: a discontinuous storage structure on a physical storage unit. The logical order of data elements is realized through pointer links in the linked list Composition of linked list: the linked list ...
Posted by enygma on Sat, 30 Oct 2021 15:29:06 -0700
737-C++STL - principle of container space allocator
Implement a simple vector container
The implementation of all C++ STL containers needs to rely on a spatial configurator allocator. Although we don't pay attention to it when using containers, we have been using it all the time. The C++ STL library provides a simple implementation of the default spatial configurator allocator. Of course, we ne ...
Posted by robin on Sat, 30 Oct 2021 06:31:20 -0700
Docker container learning notes
1. Comparison between docker and virtual machine
Compared with traditional virtual machines, Docker has fast startup speed and small footprint.
2. Docker component
2.1 docker server and client
2.2 docker image and container
Mirroring is the foundation for building containers.
2.3 Registry registry
Used to save user built images. I ...
Posted by malam on Sat, 30 Oct 2021 03:07:45 -0700
Using the Kubernetes series from 0 to 1: building the first application
Traditional Kubernetes application building
Create Namespace
In a Kubernetes cluster, you can create multiple namespaces for "environment isolation". When there are many projects and personnel, you can consider dividing different namespaces according to the actual situation of the project (such as production, testing and development). ...
Posted by xenooreo on Thu, 28 Oct 2021 20:05:23 -0700
Kubernetes binary deployment single node (super detailed) 2
catalogue
5, Deploy master components
1. Operate on the master01 node
6, Deploying Woker Node components
1. Operate on the master01 node
2. Operate on node01 node
3. Operate on the master1 node
4. Operate on node01 node
5. Operate on the master01 node
6. Operate on node01 node
7.node02 node deployment (method 1)
node02 node ...
Posted by thefamouseric on Thu, 28 Oct 2021 06:52:12 -0700
Docker nginx deploys multiple static web resources and hides ports
Background:
Deploy multiple static resources on docker, hoping to access them directly using domain name instead of domain name + port number
Specific ideas:
First, use docker to create three nginx containers 1. nginx port 81 of web1 website deployment 2. nginx port 82 for web2 website deployment 3,proxy_nginx port 80 for proxy forwa ...
Posted by jtacon on Sat, 23 Oct 2021 22:38:31 -0700