Home >Operation and Maintenance >Docker >What is the difference between paas and docker
The difference between paas and docker: 1. paas is the abbreviation of "Platform as a Service", which refers to platform as a service and provides an environment for customers, while docker is an open source application container engine that allows Developers can package their applications and dependency packages into a portable image; 2. The principle of the PaaS platform is "app-centric", which is application-centric rather than container-centric, while docker is container-centric .
The operating environment of this tutorial: linux7.3 system, docker version 19.03, Dell G3 computer.
paas
The paas platform provides an environment for customers to ensure Development, testing, and operation and maintenance personnel can all process the same program, even if their computer environments are different.
PaaS is the abbreviation of (Platform as a Service), which refers to platform as a service. The business model that uses the server platform as a service provider, and the service provided by the program through the network is called SaaS (Software as a Service), which is one of the three service models of cloud computing. In the era of cloud computing, the corresponding server platform or development Providing the environment as a service becomes PaaS (Platform as a Service).
Docker
Docker is an open source application container engine that allows developers to package their applications and dependencies into a portable Image and then publish to any popular Linux or Windows operating system machine, it can also be virtualized. Containers completely use the sandbox mechanism and will not have any interfaces with each other.
By packaging applications into Docker files or images and publishing them in the entire container, Docker can achieve rapid migration of application environments and shield many developers from management complexity.
At present, although there are many developers of Docker containers, they are still not reassuring in terms of stability, which is most important for enterprise applications. You need to manage hundreds or thousands of Docker builds, which is very complicated. Docker's orchestration and management have always been lacking, so many container ecosystem participants have developed on top of it, such as Mesos, Kubernetes, Marathon, Swarm, etc., all of which are helping Docker grow. However, this ecosystem cannot avoid competition with each other during its development. What enterprises pursue is time and efficiency. How to choose, combine and use these Docker orchestration and scheduling tools is not only very difficult for enterprises, but also greatly increases management and maintenance costs.
Detailed introduction:
The goal of PaaS must be to solve the needs of large-scale complex applications.
The principle of PaaS platform is "app-centric", which is application-centric rather than container-centric. If the enterprise PaaS platform container service manages hundreds or thousands of applications, it needs to support continuous release, continuous integration, security services, routing management, grayscale management, configuration management and other functions at the application level. Currently, this Docker ecosystem still does not have The functions of any company can meet these needs. Five to eight tools must be selected to manually create and combine such functions. For a platform that supports these functions at the same time, its own upgrade, capacity expansion, and disaster recovery and backup mechanisms will become another problem for enterprises.
Of course, Docker is progressing very quickly and is constantly solving various problems. Docker and Pivotal are both members of the OCI container standard. In the future, container technology will definitely move towards a unified standard runC, just like the J2EE standard back then. Cloud Foundry already supports the use of Docker images. As a mainstream open source PaaS, Cloud Foundry has been verified in key production applications of many large enterprises.
PAAS: Platform as a Service. PAAS is for software developers and helps software developers complete software development more quickly. A typical PAAS service is Google's GAE. I personally think that the most successful PAAS currently is AWS's Lambda.
Take Lambda as an example. After submitting the business code (currently supporting Node.js java and Python), combined with the implementation of specific Lambda functions, AWS Lambda will calculate resources according to customized requirements, automatically execute, and automatically scale. Expansion, monitoring and other functions. For details, you can go to the AWS page. The emergence of
docker has greatly accelerated the development of PAAS, and the construction of enterprise private PAAS has flourished. It can be seen that the core of PAAS is to solve everything from deployment, operation and maintenance to monitoring after the software code is completed.
Recommended learning: "docker video tutorial"
The above is the detailed content of What is the difference between paas and docker. For more information, please follow other related articles on the PHP Chinese website!