问题描述
我知道Docker和Kubernetes不是直接竞争对手. Docker是容器平台,容器由工具Kubernetes协调和调度.
I know that Docker and Kubernetes aren’t direct competitors. Docker is the container platform and containers are coordinated and scheduled by Kubernetes, which is a tool.
这实际上是什么意思,我如何在适用于Azure的Docker上部署我的应用程序?
What does it really mean and how can I deploy my app on Docker for Azure ?
推荐答案
简短答案:
-
Docker(通常是容器)解决了打包应用程序及其依赖项的问题.这使得在任何地方都可以轻松运输和运行.
Short answer:
Docker (and containers in general) solve the problem of packaging an application and its dependencies. This makes it easy to ship and run everywhere.
Kubernetes是容器之上的抽象层.这是一个控制/管理容器的分布式系统.
Kubernetes is one layer of abstraction above containers. It is a distributed system that controls/manages containers.
我的建议:因为风景很大,所以...开始学习并解决难题通过遵循课程一起学习.下面,我添加了来自以下内容的一些信息:
My advice: because the landscape is huge... start learning and putting the pieces of the puzzle together by following a course. Below I have added some information from the:
- Kubernetes简介,来自Linux Foundation的免费在线课程. /li>
- Introduction to Kubernetes, free online course from The Linux Foundation.
- 容错
- 可以扩展,并按需执行
- 最佳利用资源
- 可以自动发现其他应用程序,并彼此通信
- 可以从外部访问
- 可以在不停机的情况下进行更新/回滚.
- Are fault-tolerant
- Can scale, and do this on-demand
- Use resources optimally
- Can discover other applications automatically, and communicate with each other
- Are accessible from the external world
- Can update/rollback without any downtime.
容器协调器 是将主机分组在一起以形成集群的工具,可帮助我们满足上述要求.
Container orchestrators are the tools which group hosts together to form a cluster, and help us fulfill the requirements mentioned above.
如今,有许多容器协调器可用,例如:
Nowadays, there are many container orchestrators available, such as:
- Docker Swarm::Docker Swarm是由Docker,Inc.提供的容器编排器.它是Docker Engine的一部分.
- Kubernetes: Kubernetes由Google创建,但是现在它是Cloud Native Computing Foundation项目的一部分.
- Mesos Marathon: Marathon是在Apache Mesos上大规模运行容器的框架之一.
- Amazon ECS::Amazon EC2容器服务(ECS)是AWS提供的托管服务,用于在其基础设施上大规模运行Docker容器.
- Hashicorp Nomad: Nomad是HashiCorp提供的容器协调器.
- Docker Swarm: Docker Swarm is a container orchestrator provided by Docker, Inc. It is part of Docker Engine.
- Kubernetes: Kubernetes was started by Google, but now, it is a part of the Cloud Native Computing Foundation project.
- Mesos Marathon: Marathon is one of the frameworks to run containers at scale on Apache Mesos.
- Amazon ECS: Amazon EC2 Container Service (ECS) is a hosted service provided by AWS to run Docker containers at scale on its infrastructrue.
- Hashicorp Nomad: Nomad is the container orchestrator provided by HashiCorp.
这篇关于Kubernetes与Docker:真正的意思是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!