What's the difference between Docker Compose and Kubernetes?

后端 未结 12 1988
南笙
南笙 2021-01-29 16:50

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 c

12条回答
  •  梦毁少年i
    2021-01-29 17:54

    Docker:

    • Docker is the container technology that allows you to containerize your applications.
    • Docker is the core of using other technologies.

    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 don'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 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 is a container orchestration tool developed by Google.
    • Kubernetes' goal is very similar to that for Docker Swarm.

    Docker Cloud

    • 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.

    Update:

    Docker cloud "partially" discontinued

    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

提交回复
热议问题