Build redis cluster based on docker container (3 master and 3 slave)
Build redis cluster based on docker container (3 master and 3 slave)
1, Container preparation
Pull the centos basic image from the image warehouse, then create the container, initialize the environment, install some common commands and environment dependencies such as gcc, tar, ssh and telnet, and then create the test01 user and set the passw ...
Posted by Addos on Sat, 29 Jan 2022 08:26:02 +0100
[Docker Series] docker manifest
docker manifest description
Manage Docker image lists and inventory lists
You need to connect to the network, pull information from the docker hub, and print out the manifest information. Disconnecting the network will cause an error.
_Note: This command is experimental on Docker clients. _ It should not be used in production environments ...
Posted by ericwright17 on Fri, 28 Jan 2022 19:46:53 +0100
Podman Introduction, Installation, Basic Operations
Introduction to Podman
What is Podman?
podman is a container engine for daemon-less based Linux systems. Containers that can be used to develop, manage and run OCI standards. podman can run in root or non-root user mode.
Podman was launched by Red Hat in 2018 with open source code.
Official website https://podman.io/
OCI https://opencont ...
Posted by javamint on Fri, 28 Jan 2022 05:53:27 +0100
docker deployment project
1. Install the yum utils package.
yum install -y yum-utils device-mapper-persistent-data lvm2
2. Before installing Docker engine community on the new host for the first time, you need to set up the Docker warehouse. After that, you can install and update Docker from the warehouse.
yum-config-manager --add-repo http://mirrors.aliyun.com/dock ...
Posted by emediastudios on Fri, 28 Jan 2022 01:26:14 +0100
docker installs mysql8 0's pit lower_case_table_names
catalogue
1, Environment:
2, Modify case
2.1 modify my CNF (invalid):
2.2docker specifies -- lower case table names = 1 (invalid in specific cases):
2.3 solutions
3, Reference link
1, Environment:
centos7,docker 17.12.1-ce,mysql 8.0.21
The mysql command of docker installation:
docker run --name mysql --restart=always \
-v /home ...
Posted by Khrysller on Thu, 27 Jan 2022 22:31:05 +0100
Source code analysis of Spring IOC container
Reprint: Source code analysis of Spring IOC container_ Javadoop
Created on: 2017-11-15 00:00:00
The most important concepts of Spring are IOC and AOP. This article is actually to lead you to analyze the IOC container of Spring. Since we usually use Spring, how can we not have a good understanding of Spring? Reading this article will not mak ...
Posted by novice4eva on Thu, 27 Jan 2022 20:59:06 +0100
docker installs mysql to simulate a master-slave database
Pull mysql image
docker pull mysql:5.7.36
Create container
Create the following folders master slave1 slave2
Create master database
docker run \
--name mysql-master \
-p 3307:3306 \
-v /usr/local/docker/mysql/data/master:/var/lib/mysql \
-e MYSQL_ROOT_PASSWORD=root \
-d mysql:5.7.36
Create slave database 1
docker run \
--name m ...
Posted by jkurrle on Thu, 27 Jan 2022 09:56:53 +0100
N skills to write more efficient Dockerfile | cloud effect engineer pointing North
Introduction: in the cloud native era, the construction and deployment of software are inseparable from Container technology. When it comes to containers, almost everyone subconsciously thinks of Docker. There are two very important concepts in Docker: Image and Container. The former is a static view, which packages the directory structure and ...
Posted by ed209 on Thu, 27 Jan 2022 09:51:12 +0100
Detailed explanation of set/multiset container for C + + basic learning
1. Basic concepts of set
Introduction:
All elements are automatically sorted on insertion Essence:
set/multiset is an associative container, and its underlying structure is implemented by binary tree. Difference between set and multiset: set does not allow duplicate elements in the container multiset allows duplicate elements in a contain ...
Posted by Flinch on Wed, 26 Jan 2022 21:10:46 +0100
Linux [Chapter 4] explanation of Docker basic commands
docker basic commands
This article is reproduced as follows: Original address
1. Check docker version
docker version
2. View docker details
docker info
3. View the docker help command
docker help
If you forget how to use the specific parameters of a command, follow it with – help
give an example
How to use the param ...
Posted by tested_123 on Wed, 26 Jan 2022 15:36:25 +0100