compare","metadata":{}}]}}]},"metadata":{"auth":{},"testAttributes":{}},"context":{"page":{"pageUrl":"https://aws.amazon.com/compare/the-difference-between-kubernetes-and-docker/"},"environment":{"stage":"prod","region":"us-east-1"},"sdkVersion":"1.0.129"},"refMap":{"manifest.js":"289765ed09","what-is-header.js":"2e0d22c000","what-is-header.rtl.css":"ccf4035484","what-is-header.css":"ce47058367","what-is-header.css.js":"004a4704e8","what-is-header.rtl.css.js":"f687973e4f"},"settings":{"templateMappings":{"category":"category","headline":"headline","primaryCTA":"primaryCTA","primaryCTAText":"primaryCTAText","primaryBreadcrumbText":"primaryBreadcrumbText","primaryBreadcrumbURL":"primaryBreadcrumbURL"}}}
Docker is a container runtime technology that allows you to build, test, and deploy applications faster than traditional methods. It packages software into standardized units called containers with everything the software needs to run—including libraries, system tools, and code. Kubernetes is a container orchestration tool that allows you to scale your container systems so you can manage, coordinate and schedule containers at a vast scale.","id":"seo-faq-pairs#what-the-difference-between-kubernetes-and-docker","customSort":"1"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#what-the-difference-between-kubernetes-and-docker","name":"what-the-difference-between-kubernetes-and-docker","namespaceId":"seo-faq-pairs#faq-collections","description":"
kub vs docker","metadata":{}}]}},{"fields":{"faqQuestion":"Where are Kubernetes and Docker used?","faqAnswer":" Kubernetes and Docker are both container technologies. Modern applications are made of microservices—independent components that run each application process as a service. Each service performs a single function and communicates with other services via a well-defined interface called API. Containerization provides the software tool to pack microservices as deployable programs on different platforms. \n Read about microservices » \n Read about containerization » \n Docker is an open-source container runtime that has gained popularity in recent years. It provides a toolkit for creating containers easily and efficiently. Developers run commands to build a container image file encompassing system libraries, tools, code, and other software configurations that each microservice requires. Every microservice has its own Docker image. You can use the Docker image to run the microservice in any environment. \n Most applications are made of several microservices. Some of them can scale to thousands of microservices running across different servers. Multi-container applications introduce new management challenges: \n Developers solve these challenges using a container orchestration platform like Kubernetes. Kubernetes is an open-source technology that lets you manage containers at scale. It handles operating complexities so you can scale your workloads and manage container deployment across multiple servers.","id":"seo-faq-pairs#where-kub-dock-used","customSort":"2"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#what-the-difference-between-kubernetes-and-docker","name":"what-the-difference-between-kubernetes-and-docker","namespaceId":"seo-faq-pairs#faq-collections","description":" kub vs docker","metadata":{}}]}},{"fields":{"faqQuestion":"Key differences: Kubernetes vs. Docker","faqAnswer":" Both Kubernetes and Docker are open-source container technologies. However, they are fundamentally different in how they work and what role they play in distributing containerized applications. Developers use Docker to create and manipulate container images. They use Kubernetes to manage multiple microservices at scale. Each microservice is individually made up of multiple containers itself. \n The term Docker actually refers to a set of tools developers use to build, share, and run containerized applications. Here are some Docker commands you can use: \n On the other hand, Kubernetes works by managing a cluster of compute instances. It schedules containers to run on the cluster based on the available compute resources and the resource requirements of each container. Containers are run in logical groupings called pods, and you can run and scale one or many containers together as a pod. You can automatically start additional pods on your Kubernetes cluster based on their resource requirements. \n Docker Engine is the component developers use for building and containerizing your applications. It offers APIs which specify interfaces that programs can use to talk to and instruct it.Similarly, Kubernetes control-plane software decides when and where to run container pods, manages traffic routing, and scales your pods based on utilization or other metrics you define. \n Docker streamlines the development lifecycle by allowing developers to work in standardized environments using local containers which provide your applications and services. It’s container-based platform allows for highly portable workloads. On the other hand, Kubernetes lets you define complex containerized applications and run them at scale across a cluster of servers.","id":"seo-faq-pairs#key-diff","customSort":"3"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#what-the-difference-between-kubernetes-and-docker","name":"what-the-difference-between-kubernetes-and-docker","namespaceId":"seo-faq-pairs#faq-collections","description":" kub vs docker","metadata":{}}]}},{"fields":{"faqQuestion":"When to use Kubernetes or Docker","faqAnswer":" Docker and Kubernetes are two different technologies with different use cases. You use Docker Desktop to run, edit and manager container development. You use Kubernetes to run production grade applications at scale. ","id":"seo-faq-pairs#when-to-use-kb-docker","customSort":"4"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#what-the-difference-between-kubernetes-and-docker","name":"what-the-difference-between-kubernetes-and-docker","namespaceId":"seo-faq-pairs#faq-collections","description":" kub vs docker","metadata":{}}]}},{"fields":{"faqQuestion":"Summary of differences: Kubernetes vs. Docker Desktop","faqAnswer":"Create containers \n
Manage containers \n
\n
Operations \n
\n
Core technology \n
Biggest benefit \n
\n