docker compose和kubernetes有什么区别? [英] What's the difference between docker compose and kubernetes?

查看:1662
本文介绍了docker compose和kubernetes有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在深入研究Docker,Google Cloud和Kubernetes的同时,还没有清楚地了解这三个产品,在我看来,这些产品是重叠的,但它们并不兼容.

While diving into Docker, Google Cloud and Kubernetes, and without clearly understanding all three of them yet, it seems to me these products are overlapping, yet they're not compatible.

例如,需要重写docker-compose文件,以便可以将应用程序部署到Kubernetes.

For example, a docker-compose file, needs to be re-written so an app can be deployed to Kubernetes.

有人可以对Docker,Docker-Compose,Docker Cloud和Kubernetes的重叠之处以及其中一个相互依赖的地方提供一个大致的概述吗?

Could someone provide a high level rough description of where Docker, Docker-Compose, Docker Cloud, and Kubernetes overlap and where one is dependent on the other?

推荐答案

Docker :

Docker:

  • Docker是一种容器技术,可让您对应用程序进行容器化.
  • Docker是使用其他技术的核心.

Docker Compose

Docker Compose

  • Docker Compose允许配置和启动多个Docker容器.
  • 当您要启动多个Docker容器并且不想使用docker run ...分别启动每个Docker容器时,Docker Compose通常用作帮助程序.
  • Docker Compose用于在相同主机上启动容器.
  • 在构建和运行单个Docker容器时,使用
  • 使用Docker Compose代替所有可选参数.
  • Docker Compose allows configuring and starting multiple Docker containers.
  • Docker Compose is mostly used as a helper when you want to start multiple Docker containers and doesn't want to start each one separately using docker run ....
  • Docker Compose is used for starting containers on the same host.
  • Docker Compose is used instead of all optional parameters when building and running a single docker container.

Docker Swarm

Docker Swarm

  • Docker swarm用于在多个主机上运行和连接容器.
  • Docker swarm是一个容器集群管理和编排工具.
  • 它管理在多个主机上运行的容器,并执行扩展,在发生崩溃时启动新容器,将容器联网等操作.
  • Docker swarm是生产中的docker.
    嵌入在Docker Engine中的 native docker 编排工具.
  • 命名为stack file的docker swarm文件与Docker compose文件非常相似.
  • Docker swarm is for running and connecting containers on multiple hosts.
  • Docker swarm is a container cluster management and orchestration tool.
  • It manages containers running on multiple hosts and does things like scaling, starting a new container when one crashes, networking containers ...
  • Docker swarm is docker in production.
    It is the native docker orchestration tool that is embedded in the Docker Engine.
  • The docker swarm file named stack file is very similar to a Docker compose file.

Kubernetes

Kubernetes

  • Kubernetes是Google开发的容器编排工具.
  • Kubernete的目标与Docker swarm的目标非常相似.

Docker Cloud

Docker Cloud

  • 一项付费企业docker服务,可让您在云服务器或本地服务器上构建和运行容器.
  • 它提供了一个Web UI和一个中央控制面板,用于运行和管理容器,同时在用户友好的Web界面中提供所有docker功能.
  • A paid enterprise docker service that allows you to build and run containers on cloud servers or local servers.
  • It provides a Web UI and a central control panel to run and manage containers while providing all the docker features in a user-friendly Web interface.

更新:

Docker云部分"终止

Docker Cloud上提供应用程序,节点和群集集群管理的服务将于[2020年5月21日]关闭... 自动构建和注册表存储服务,将不会受到影响,并且将继续可用

The services on Docker Cloud that provide application, node, and swarm cluster management will be shutting down on May 21 [2020]... automated builds and registry storage services, will not be affected and will continue to be available

这篇关于docker compose和kubernetes有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆