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

Create containers \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

Manage containers \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