Home > Article > Operation and Maintenance > Is docker open source?
Docker is open source. Docker is an open source software and an open platform for developing applications, delivering (shipping) applications, and running applications; Docker allows users to separate applications in the infrastructure. , forming smaller particles (containers), thereby increasing the speed of delivering software.
The operating environment of this article: centOS6.8 system, Docker version 20.10.11, DELL G3 computer
Is docker open source?
docker is open source.
Docker is an open source software and an open platform for developing applications, delivering (shipping) applications, and running applications. Docker allows users to separate applications in the infrastructure into smaller particles (containers), thereby increasing the speed of software delivery.
Docker containers are similar to virtual machines, but they are different in principle. Containers virtualize the operating system layer, and virtual machines are virtualized hardware. Therefore, containers are more portable and use servers efficiently. Containers are used more to represent a standardized unit of software. Due to the standardization of containers, it can be deployed anywhere regardless of infrastructure differences. In addition, Docker also provides containers with stronger industry isolation compatibility.
Docker uses the resource separation mechanism in the Linux core, such as cgroups, and Linux core namespaces (namespaces), to create independent containers (containers). This can operate under a single Linux entity, avoiding the additional burden of launching a virtual machine [3]. The Linux kernel's support for namespaces completely isolates the application's view of the working environment, including the process tree, network, user ID and mounted file system, while the core cgroup provides resource isolation, including CPU, memory, block I/O and network. Starting from version 0.9, Dockers began to include the libcontainer library as a direct use of the virtualization facilities provided by the Linux kernel in its own way, based on the interface provided by libvirt's LXC and systemd-nspawn,
According to industry analyst firm “451 Research”: “Dockers are dependency tools that have the ability to package applications and their virtual containers that can be executed on any Linux server, which helps achieve flexibility and portability of applications. The program can be executed anywhere, whether it is a public cloud server, a private cloud server, a stand-alone machine, etc."
Docker Engine
Docker Engine (Docker Engine) is a The application of the server-client structure mainly includes these parts: Docker daemon, Docker Engine API (page archive backup, stored in the Internet Archive), and Docker client.
Docker daemons, also called dockerd, is a persistent process where users manage containers. The daemon listens for requests from the Docker Engine API (page archive backup, stored in the Internet Archive).
Docker Engine API (page archive backup, stored in the Internet Archive) is an API used to interact with the Docker daemon. It is a RESTful API, so it can be called not only by the Docker client, but also by commands such as wget and curl.
The Docker client, also called docker, is the main way for most users to interact with Docker. Users send commands to the daemon through the client. The command will follow the Docker Engine API (page archive backup, stored in the Internet Archive)
Recommended learning: "docker tutorial"
The above is the detailed content of Is docker open source?. For more information, please follow other related articles on the PHP Chinese website!