In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "what is the relationship between Docker and OpenStack". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Docker and Container
Based on demand stimulation, container technology arises at the historic moment. The development of containers from Chroot,FreeBSD jails,OpenVZ,LXC to today's Docker and Rocket has really moved towards large-scale applications.
A container is a lighter and more flexible way of virtualizing than an ordinary server, packaging everything an application needs. In general, when developers write code, they work in their own local development environment; something unexpected happens when they are ready to move the code to a production environment. The reasons are varied: different operating systems, different dependencies, different libraries.
The container solves the key issue of portability by separating the code from the environment in which it is run. Developers can package the application, including all the libraries needed to run correctly, into a small container image. The image can be run on any other computer.
The rise of Docker
Although Docker is often compared to the word "Container", Docker itself is not a container. Literally, "Container" is originally translated as "container", while "Docker" is translated as "Docker".
Docker is an open source application container engine and a tool for creating containers. Allows developers to package their applications and dependencies into a portable container and publish them to any popular Linux or Windows machine.
After the PyCon conference in 2013, Docker quickly became the practical standard and cornerstone of the community, customers, and the broader industry. The power of Docker is that it creates independence between applications and infrastructure through portable forms and easy-to-use tools, popularizes container technology, and makes container technology mainstream.
Docker is so popular, but we need to know that Docker is not the only or the first container platform to emerge. Other frameworks, such as OpenVZ and LXC (Linux Container), have been in use since mid-2000. FreeBSD jails, on the other hand, can be traced back to more distant times. Docker was released in 2013 and is very young compared to most of today's mainstream container technologies.
Although Docker is not the most mature, it has attracted a lot of attention. This is because Docker is an extended Linux container (LXC), a unique, lightweight, application-centric virtualization tool. It greatly reduces enterprise overhead and makes it easier for enterprises to deploy software on servers. And Docker allows system administrators and developers to build any application in the container, saving resources.
In addition, there are other reasons for the rapid development of Docker:
Docker has been open source from the beginning, which makes Docker a strong attraction in the industry. It was not until 2013 that the industry began to regard "open source" as the default mode of software production.
Docker showed up at the right time. By 2013, virtual machines seemed to have become outdated technology. People have been looking for a more streamlined and convenient way to deploy applications, and then Docker appears, and it happens to meet the requirements.
Another major focus of Docker use is DevOps. DevOps became popular in early 2010, emphasizing the agility, flexibility, and extensibility of software delivery. Docker provides exactly the right environment for deploying applications according to DevOps.
Docker and OpenStack
Container and virtual machine technologies are often compared with each other. The so-called virtual machine (Virtual Machine) refers to a complete computer system with complete hardware system functions simulated by software and running in a completely isolated environment.
Docker may be regarded as the representative of current container technology, and as the representative of virtual machine technology, OpenStack is also well known.
OpenStack is an open source cloud computing management platform project, which is a combination of a series of open source software projects. It is not a software, but a project managed by a cloud platform. This project is composed of several major components to accomplish some specific work. These mainly include:
Nova (Compute): calculate the lifecycle management of an instance (that is, a created CVM) in an OpenStack environment. On-demand response includes operations such as generating, scheduling, and recycling virtual machines.
Neutron (Networking): ensure that network connection as a service is provided for other OpenStack services.
Swift (Object Storage): unstructured data objects that are stored and arbitrarily retrieved through an HTTP-based application program interface.
Glance (Image service): stores and retrieves virtual machine disk images, which OpenStack Compute uses when the instance is deployed.
Many people often compare Docker with traditional virtual machines, and often highlight the advantages of Docker. In fact, this has nothing to do with OpenStack. Many performance tests used to compare Docker with KVM, but later found that these tests were run through OpenStack, indicating that the two technologies actually work well together.
So if you use Docker, can you still use OpenStack?
The answer is yes. Docker provides a container in its simplest form to manage applications on a shared infrastructure while isolating them from each other. Virtual machines do similar work by creating a complete operating system. OpenStack's official documentation (https://wiki.openstack.org/wiki/Docker) specifically provides a solution for deploying Docker, and states separately: "containers are not intended to replace virtual machines, they are complementary because they are more suitable for specific use cases."
Docker and Kubernetes
If you see the word Kubernetes for the first time, you may wonder why it is abbreviated to K8S. In fact, there are exactly eight letters between k and s, and K8S is a lazy way of writing. Kubernetes is an open source container orchestration engine for Google, which supports automated deployment, large-scale scalability, and application containerization management.
As a solution to container orchestration, as Kubernetes becomes more and more popular, the words "Kubernetes" and "Docker" are often mentioned together.
Currently, Kubernetes can be said to be a market leader and a standardized way to orchestrate containers and deploy distributed applications. Kubernetes can run on public cloud services or locally, is highly modular, open source, and has an active community. Many cloud vendors have also provided Kubernetes as a service.
Of course, Docker and Kubernetes are not competitors. Docker is a containerized platform, while Kubernetes is the coordinator of container platforms such as Docker. It aims to provide efficient management for the container, monitor the running status of the application, and make the application provide uninterrupted service without the need for operation and maintenance personnel to carry out complex manual configuration and processing.
With the development of cloud computing technology, from the beginning of hardware virtualization, IaaS, OpenStack, PaaS, container to today's Serverless, cloud computing has become more and more close to application logic. The container realizes the sub-packaging of applications, which facilitates the migration of applications in different environments, and the lightweight feature enables it to consume less resources and bring greater convenience.
This is the end of the content of "what is the relationship between Docker and OpenStack". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.