Building mysql master-slave structure with docker-compose
Using docker-compose to build mysql master-slave structure
A few days ago, I tried to learn the online tutorial. Using docker-compose, I set up a simple master-slave mysql for learning purposes. Next, I will show you the pure dry goods step by step in the following section. Roll up!!!
First, the basic environment and software used by the auth ...
Posted by grantson on Mon, 21 Feb 2022 18:37:01 +0100
Run AI model in Docker container
catalogue
introduce
Why use a separate reasoning container?
Dependency
Dockerfile
Building and running containers
generalization
Download project file - 4.8 MB
introduce
Container technologies such as Docker significantly simplify the dependency management and portability of software. In this series of articles, we explore Docker Use ...
Posted by tinyashcities on Mon, 21 Feb 2022 16:44:06 +0100
Kubernetes introduction to mastery | kubernetes life cycle
Pod life cycle
Pod can have multiple containers in which applications run, but it may also have one or more Init containers that start before the application container
The Init container is very similar to an ordinary container, except for the following two points:
The Init container always runs until successful completionEach Init conta ...
Posted by Shad on Mon, 21 Feb 2022 08:38:20 +0100
Docker&Kubernetes ❀ Kubernetes cluster Pod controller - Deployment (Deploy)
1. Resource allocation list
In order to better solve the problem of service arrangement, Kubernetes introduced the Deployment controller in v1.2. This controller does not directly manage the Pod, but indirectly manages the Pod by managing the ReplicaSet. Therefore, the function of Deployment is more powerful than that of the ReplicaSet; ...
Posted by ragy on Mon, 21 Feb 2022 04:32:04 +0100
[Docker learning notes iv] in depth understanding of Docker image principle
The previous Blog described in detail how to quickly follow several middleware or servers and simply test and use them. As of the last article, two blogs were used to complete the form and bottom things, that is, how to play Docker. This Blog will talk about some principle level content, which is convenient for further use. There is a theoretic ...
Posted by johnseito on Sun, 20 Feb 2022 20:25:44 +0100
docker basic command
summary:
Since bloggers use docker in their daily development work, they specially find some materials for in-depth study of docker technology, and introduce it to you in combination with their commonly used docker commands in their daily work. Docker commands can be roughly divided into three categories: startup commands, image commands and c ...
Posted by mikebr on Sun, 20 Feb 2022 17:21:11 +0100
[Docker] common Docker commands. Help command, mirror command, container command
Docker common commands
Docker Hub official website: https://hub.docker.com/
1. Help command
docker version # Display Docker version information.
docker info # Displays Docker system information, including the number of images and containers
docker --help # help
Among the three commands, docker --help is the most commonly used. When ...
Posted by ParkerPHP on Sun, 20 Feb 2022 14:16:59 +0100
Installation and use of Docker
catalogue
1, Docker introduction
2, Installation
1. Uninstall old version
2. Install system tools
3. Add Docker yum
4. Update source cache
5. Install Docker
3, Basic use
1. Preparatory work
2. Image download
4, Container
1. Create container
2. View current container
3. Delete container
4. Entry and exit
1, Docker introducti ...
Posted by friendlylad on Sun, 20 Feb 2022 12:41:34 +0100
Dockerfile constructed by Docker image
Dockerfile constructed by Docker image
The most common way to build images in Docker is to use dockerfile. Dockerfile is a text file used to build an image. The text content contains instructions and instructions required to build an image one by one. Official documents: https://docs.docker.com/engine/reference/builder/
Introduction part ...
Posted by chriskl on Sun, 20 Feb 2022 06:32:15 +0100
Installing docker on ubuntu
Reprint: https://www.runoob.com/docker/ubuntu-docker-install.html
Docker installation
Environmental preparation
1,ubuntu
2. Use Xshell to connect to the remote server for operation
Environment view
#The system kernel is above 3.10
zzw@zzw-virtual-machine:~$ uname -r
3.10.0-1062.12.1.e17.x86_64
zzw@zzw-virtual-machine:~$ cat /et ...
Posted by The_Walrus on Sun, 20 Feb 2022 01:11:13 +0100