Docker preliminary 1-basic concepts

Study: "Docker Deep Dive-Docker Deep Dive" [English] Nigel Poulton (Nigel Poulton)
Practice: https://labs.play-with-docker.com

Virtualization, Virtualization Virtualization
is a resource management technology that abstracts and converts various physical resources of a computer, such as servers, hard disks, memory, and networks, in a virtualized manner. The attached physical resource structure and geographical restrictions. Virtualization technology can solve the problems of excess capacity of high-performance physical hardware and low capacity of old hardware, and maximize the use of physical hardware.

VM, virtual machine
is a kind of virtualization technology. It refers to simulating a complete hardware system function through software in the same server, and running multiple stable and secure applications in a completely isolated computer system environment.
The virtual machine is a simulated image of the physical machine, which uses part of the physical machine's memory and hard disk as the virtual machine's memory and hard disk. Each virtual machine has an independent hardware and software system: CMOS, memory, hard disk and operating system; With an independent desktop, you can install independent software applications and save your own data. The operation of the virtual machine is the same as that of the physical machine, without affecting the physical machine server where the virtual machine is located.
The VM uses Hypervisor for virtual machine management.

Docker
Docker is an open source application container engine that runs on Linux and Windows for creating, managing, and orchestrating containers, and is part of the Moby open source project developed on GitHub. Docker is a PaaS-based simulation technology after the rise of cloud services. Docke is composed of DockerClient client, Docker Daemon daemon, Docker Image image, and DockerContainer container.
Docker uses Container for virtualization management.
Docker, Docker application provider. www.docker.com, Docker helps developers bring their ideas to life by conquering the complexity of app development. We simplify and accelerate development workflows with an integrated dev pipeline and through the consolidation of application components. Actively used by millions of developers around the world , Docker Desktop and Docker Hub provide unmatched simplicity, agility and choice.

The disadvantages of VMs promote the generation of Docker.
VM resources consume a large amount and the utilization rate is low: each VM depends on and monopolizes a dedicated operating system, and each operating system consumes additional CPU, memory, and storage.
Docker shares the same operating system, not an exclusive operating system, because Docker only needs to maintain one operating system.
The VM starts slowly and the portability between platforms is poor.
Docker is based on operating system sharing, so it starts quickly and is easy to migrate.

Container technology
Container technology is to effectively divide the resources of a single operating system into isolated groups, so as to better balance conflicting resource usage requirements between isolated groups.

CRI -Container Runtime Interface (container runtime interface)
kubernetes , referred to as K8s, "ubernete" 8-character abbreviation. Open source, used to manage containerized applications on multiple hosts in a cloud platform.
Moby is an open source framework created by Docker for assembling specialized container systems.
OCI , Open Container Initiative, Open Container Initiative. The Linux Foundation established the OCI organization in June 2015 to develop an open industrial standard around the container format and runtime. There are currently two standard documents: the container runtime standard (runtime spec) and the container mirroring standard (image spec )
CNI , Container Network Interface, container network interface. Google and CoreOS led the formulation of the container network standard, which is not an implementation or code itself, and can be understood as a protocol. ---  https://www.jianshu.com/p/62e71584d1cb
CLI , command line interface character user interface, command-line interface, the user enters commands through the keyboard, and the computer receives the commands and executes them.

Published 243 original articles · Like 32 · Visits 210,000+

Guess you like

Origin blog.csdn.net/u012841352/article/details/105025056