Introduction to docker
Introduction to docker
docker pull website Docker - Official Image | Docker Hub
1. Install docker
1. Delete the local docker
yum remove docker*
2. Download the yum runtime library
sudo yum install -y yum-utils
3. Set download source
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
4. Download do ...
Posted by sader on Sun, 28 Nov 2021 06:23:48 -0800
Ten minutes to understand docker
1, What is docker?
wiki introduction
Docker is an open source software and an open platform for developing, shipping and running applications. Docker allows users to separate applications in Infrastructure to form smaller particles (containers), so as to improve the speed of software delivery. Docker containers are similar to virtu ...
Posted by QSDragon on Sat, 27 Nov 2021 22:47:07 -0800
CentOS 7 builds k8s cluster v1.22.4
CentOS 7 builds k8s clusters
Environmental Science:
iphost namerole192.168.25.133k8s01master192.168.25.134k8s02slave192.168.25.135k8s03slave
Install the necessary software
yum install -y net-tools.x86_64 wget yum-utils
Configure hosts
cat >> /etc/hosts << EOF
192.168.25.133 k8s01
192.168.25.134 k8s02
192.168.25.135 k8s03
EOF
...
Posted by rohithmr on Sat, 27 Nov 2021 10:25:39 -0800
Configuring MySQL master-slave replication based on docker
Master slave replication
working principle
Master slave replication is a high availability and high performance solution provided by MySQL.
The working principle is divided into the following three steps:
1. The master records the data changes in * * binlog * *.
2. The I/O thread from the slave saves the binary log read from the master lib ...
Posted by jay_bo on Fri, 26 Nov 2021 12:30:43 -0800
Docker ------ first command
preface
Following the content of the previous blog, let's learn about the types of docker commands
1, Mirror operation
1. View docker version
docker version
2. Search for images
Format: docker search keyword
docker search //Find images from Docker Hub
docker search nginx
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
#Parameter Desc ...
Posted by Snart on Fri, 26 Nov 2021 10:13:50 -0800
Docker image construction process record
Docker image construction process record
Build a docker image for a java project of the company and store the image in a private library. Record the operation process.
1. Packing
This is a maven project of spring boot. The packaging command is very simple.
cd /projecthome
mvn clean package
Here, due to the pom file configuration of mvn, ...
Posted by brettpower on Thu, 25 Nov 2021 20:25:33 -0800
Docker Basics
Content of this paper
Problems solved by DockerDocker discussionDocker common commandsBrief description of Docker image, network and data volumeDockerFileDockerComposeContainer orchestration Swarm and k8s
Note: the content of this article comes from the Docker video summary of crazy God talking java in station B.
1, Why did Docker appear
&e ...
Posted by Kane250 on Thu, 25 Nov 2021 13:00:27 -0800
Dockerfile custom image
Dockerfile custom image
docekr learned that so far, we are all using third-party images, that is, third-party images in the remote image warehouse, but there will be a problem?
Problem: images cannot be modified, but only have read permissions. In different specific environments, third-party images cannot support our needs. How to solve this pr ...
Posted by Sirus121 on Wed, 24 Nov 2021 02:13:59 -0800
Docker - Common docker commands
Docker - Common docker commands
1. Background start
Syntax:
docker run -d Image name
Usage example:
Run a container in background mode:
docker run -d centos
Note: when we start a container in the background mode, there must be a foreground process, otherwise the docker container will automatically stop if it finds no application. ...
Posted by BenMo on Wed, 24 Nov 2021 00:24:14 -0800
Zookeeper 3.6.x ultimate operation and maintenance
At first, I refused to operate Zookeeper. I haven't done this thing, but I've always known about it, and I've never used it; Well, after reading the official website documents and trying for a period of time, I can only say "that's it ~".
This article does not involve too much other people's blog knowledge, just look at it zk officia ...
Posted by Colton.Wagner on Sun, 21 Nov 2021 23:52:09 -0800