docker network communication and container volume communication volume!

1, docker network mode 1. Virtual gateway of docker container (1)loopback Is the loopback network card and TCP/IP network card effective (2)virtual bridge linux itself inherits a virtualization function (kvm Architecture) and is a virtualization platform of the native architecture. After installing a virtualization platform, the system ...

Posted by andrewgk on Sat, 11 Sep 2021 21:36:00 -0700

Dockerfile Mirror Making

Dockerfile operation instructions instructionsMeaningFROM MirrorSpecifies the mirror on which the new image is based. The first instruction must be the FROM instruction, which is required for each image createdMAINTAINER NameMaintainer information describing the mirrorRUN commandExecute commands on the mirror on which they are based and su ...

Posted by bullchina on Sat, 11 Sep 2021 10:35:34 -0700

Redis cluster construction (Traditional & Docker mode) & cluster capacity expansion & cluster capacity reduction

catalogue 1, Redis cluster principle Inter cluster communication mode   Primary node downtime Electing a master node from a node 2, RedisCluster installation Traditional way Docker mode 3, Cluster expansion 4, Cluster shrinkage 5, Spring boot integrates Redis Cluster 1, Redis cluster principle Redis cluster does not use cons ...

Posted by alfieshooter on Fri, 10 Sep 2021 17:02:32 -0700

Overview of Dockerfile and building image

docker three elements Mirroring: templates for containers Container: a runtime state of an application environment Warehouse: used to store images How to create a mirror Create based on an existing image Create based on local template Create based on Dockerfile What are the components of a mirror 1. Basic image --------- centos 2. Depe ...

Posted by razta on Fri, 10 Sep 2021 13:37:02 -0700

Detail docker compose, consul!!

Docker Compose, predecessor of Fig, is a tool for defining and running multiple Docker containers. Using Docker Compose no longer requires shell I scripts to start containers Docker Compose is ideal for scenarios where multiple containers are used together for development. Consul is an open source tool from HashiCor that enables service discov ...

Posted by skippy111 on Wed, 08 Sep 2021 15:14:09 -0700

Kubernetes architecture and kubernetets cluster

catalogue 1, k8s overview 1. What is k8s 2.k8s applicable scenarios 3.Kubernetes architecture 4. Roles and functions 5.master node service 6. Overview of etcd 2, Private image warehouse 1. Basic understanding 2. Warehouse initialization 3, kubernetes installation 1. Environmental preparation 2. Kube master installation 3. Overvi ...

Posted by newbiehacker on Tue, 07 Sep 2021 16:33:49 -0700

Docker Network Mode, Data Volume, and Data Volume Container

1. Four Network Modes of Docker Network modeTo configureExplainhost-net=hostContainer shares a network namespace and network protocol stack with hostcontainer-net=container:NAME or IDShare a network namespace between containersnone-net=noneContainers have separate network namespaces but do not have any network settings for them, such as as ...

Posted by php.ajax.coder on Mon, 06 Sep 2021 09:09:14 -0700

Build Linux+Ansible+K8S Learning Environment Notes from scratch under Win10 (1*Master/controller+3*Node)

Write before I always want to learn K8s, but without environment, K8s is a bit heavy.Before going to school, I rented an ESC from Aliyun, with a single core of 2G and a single machine version of K8s, which can be installed barely. It can't be done with multiple nodes, nor can Demo in the book.Since you need more than one node, because it in ...

Posted by sifix on Sun, 05 Sep 2021 09:42:28 -0700

docker introduction and deployment

What is docker? Is a lightweight virtual machine, is an engine It is an open source tool for running applications in linux container. docker is a lightweight virtualization solution based on container technology. docker is a container engine that perfectly encapsulates and abstracts the underlying container technologies such as cgroup and ...

Posted by edkuan on Sun, 05 Sep 2021 00:30:11 -0700

Here comes the docker you want!

1, Background of container technology In the case of linux, the linux operating system has a main process with pid=1, which derives other processes to control different services. For example, PID = 2 -- > Python PID = 3 – > java pid4 – > PHP, the three services may affect each other Users expect these three different s ...

Posted by sukanya.paul on Sat, 04 Sep 2021 21:42:13 -0700