Kubernetes support in Docker Desktop
Starting from version 18.01-ce, Docker Desktop started to support Kubernetes out of the box. Developers who want to deploy their containerized applications to Kubernetes can use this orchestrator instead of SwarmKit. Kubernetes support is turned off by default and has to be enabled in the settings. The first time Kubernetes is enabled, Docker Desktop will need a moment to download all the components that are needed to create a single-node Kubernetes cluster. Contrary to minikube, which is also a single-node cluster, the version provided by the Docker tools uses containerized versions of all Kubernetes components:
Figure 16.5 – Kubernetes support in Docker Desktop
The preceding diagram gives us a rough overview of how Kubernetes support has been added to Docker Desktop. Docker Desktop for macOS uses hyperkit to run a LinuxKit-based VM. Docker Desktop for Windows uses Hyper-V to achieve the result. Inside the VM...