Docker learning ---- the network of docker and dokcer compose

Docker network Understand Docker0 Test, enter a docker container and view its network environment Three networks #Question: how does docker handle container network access? #View the internal network address ip addr of the container #docker exec -it tomcat01 ip addr #linux can ping through the docker container principle ...

Posted by markanite on Tue, 04 Jan 2022 00:24:04 +0100

Discussion on the startup sequence of Docker Compose - springboot actual e-commerce project mall4j

springboot e-commerce project mall4j( https://gitee.com/gz-yami/mall4j)java mall system source codeThe following discussion is based on the V2 version of Docker Compose:Now container choreography is widely used. We are using docker Compose for website deployment. In the process of deployment, Mysql, Redis, JAVA back-end programs and PHP back-en ...

Posted by JeDi58 on Mon, 03 Jan 2022 19:52:47 +0100

Speed of light from 0 to 1 master Prometheus and Grafana, Tencent cloud expert 5 million words essence tutorial free.

author Huang Lei, a senior engineer of Tencent cloud, was responsible for building a new generation of multi-dimensional business monitoring system for Tencent cloud monitoring. He is good at large-scale distributed monitoring system design and has a deep understanding of the architecture design of golang background project. Later, he joined th ...

Posted by Marijnn on Mon, 03 Jan 2022 19:24:40 +0100

Docker Compose quick start

Docker Compose brief introduction In the docker we learned earlier, we operate a single container, and Dockerfile build is operated manually. In the case of microservices, 100 microservices! If you use manual operation one by one, it is also very troublesome. Therefore, Docker Compose can easily and efficiently manage containers and defin ...

Posted by richei on Mon, 03 Jan 2022 19:20:33 +0100

Analysis of problems encountered when edgemesh hijacks traffic using iptables

Analysis of problems encountered when edgemesh hijacks traffic using iptables concept Cloud side communication: cloud container. Access the edge container through serviceName/clusterIP;Edge cloud communication: in contrast to the above, the edge container accesses the cloud container through serviceName/clusterIP;Edge to edge communication: t ...

Posted by loftystew on Mon, 03 Jan 2022 14:06:03 +0100

Five controllers of kubernetes

Controller type for k8s Many controller s are built in Kubernetes, which are equivalent to a state machine to control the specific state and behavior of Pod Deployment: suitable for stateless service deploymentStatefullSet: suitable for stateful service deploymentDaemon set: once deployed, all node nodes will be deployed. For example, som ...

Posted by skhale on Mon, 03 Jan 2022 09:59:03 +0100

6, Docker is commonly installed and pushed to alicloud

Docker common installation 7.1 general steps Search image - > pull image - > view image - > start image - > stop container - > remove container docker search xxx` -> `docker pull xxx:TAG` -> `docker images xxx` -> `docker run [-itd -p port:port] [--name yyy] xxx:TAG` -> `docker stop container ID/yyy` -> `docker rm ...

Posted by flight553 on Mon, 03 Jan 2022 09:33:09 +0100

Prometheus is deployed in containers and monitors nodes with Grafan drawing tool

Prometheus and Grafan container deployment Environmental description host nameIPmaster192.168.58.110client192.168.58.20 Install docker on the master host docker installation Configure network source (rhel red hat system) [root@master ~]# curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo Configure doc ...

Posted by digitalbart2k on Mon, 03 Jan 2022 04:24:15 +0100

Docker learning notes

Docker learning notes The difference between Docker and virtual machine technology The traditional virtual machine virtualizes a series of hardware, runs a complete operating system, and then installs and runs software in this system 2. The application in the container is the kernel running directly in the host computer. The container does n ...

Posted by suneel on Mon, 03 Jan 2022 04:21:32 +0100

Use kubedm to build k8s (version 1.18.2) high availability clusters

WeChat official account: operation and development story, author: double winter Recently, the company needs to build a 1.18 version of k8s high availability mode in the test environment, so kubedm is used. If you want to be more familiar with various components of k8s, it is recommended to use binary construction for learning. I built and ...

Posted by walkonet on Mon, 03 Jan 2022 01:42:13 +0100