Docker is a product of dotCloud; docker was originally an internal project launched by dotCloud founder "Solomon Hykes" while he was in France. It is an innovation based on dotCloud's many years of cloud service technology and was launched in 2013. In March of this year, it was open sourced under the "Apache 2.0" licensing agreement, and the main project code is maintained on GitHub.
The operating environment of this tutorial: linux7.3 system, docker version 19.03, Dell G3 computer.
What is docker
Docker was originally an internal company launched by dotCloud founder Solomon Hykes while he was in France. The project is an innovation based on dotCloud's cloud service technology for many years. It was open sourced under the Apache 2.0 licensing agreement in March 2013. The main project code is maintained on GitHub. The Docker project later joined the Linux Foundation and established the Open Container Alliance (OCI) to promote it.
Docker has received widespread attention and discussion since it was open source. So far, its GitHub project has exceeded 46,000 stars and more than 10,000 forks. Even due to the popularity of the Docker project, at the end of 2013, dotCloud decided to change its name to Docker. Docker was originally developed and implemented on Ubuntu 12.04; Red Hat has supported Docker since RHEL 6.5; Google has also widely used Docker in its PaaS products.
Docker is developed and implemented using the Go language launched by Google. It is based on the Linux kernel's cgroup, namespace, and AUFS-like Union FS and other technologies to encapsulate and isolate the process. It is a virtualization technology at the operating system level. Because the isolated process is independent of the host and other isolated processes, it is also called a container. The initial implementation was based on LXC. Starting from version 0.7, LXC was removed and the self-developed libcontainer was used instead. Starting from 1.11, it further evolved to use runC and containerd.
Based on the container, Docker has further encapsulated everything from file systems, network interconnection to process isolation, etc., which greatly simplifies the creation and maintenance of containers. Docker technology is lighter and faster than virtual machine technology.
The picture below compares the differences between Docker and traditional virtualization methods. Traditional virtual machine technology is to virtualize a set of hardware, run a complete operating system on it, and then run the required application processes on the system; while the application processes in the container run directly in the host's kernel, and the container does not have its own kernel, and there is no hardware virtualization. Therefore, containers are lighter than traditional virtual machines.
As can be seen from the above figure:
Take the title picture of the docker official website as the end of this part, as a summary: Build, Manage and Secure Your Apps Anywhere. Your Way.
Recommended learning: "docker video tutorial"
The above is the detailed content of Which company's product is docker?. For more information, please follow other related articles on the PHP Chinese website!