Deploy on Kubernetes
Docker Desktop includes a standalone Kubernetes server and client, as well as Docker CLI integration. The Kubernetes server runs locally within your Docker instance, is not configurable, and is a single-node cluster.
The Kubernetes server runs within a Docker container on your local system, and is only for local testing. When Kubernetes support is enabled, you can deploy your workloads, in parallel, on Kubernetes, Swarm, and as standalone containers. Enabling or disabling the Kubernetes server does not affect your other workloads.
See Docker Desktop for Mac > Getting started to enable Kubernetes and begin testing the deployment of your workloads on Kubernetes.
Use the kubectl command
The mac Kubernetes integration provides the Kubernetes CLI command
/usr/local/bin/kubectl. This location may not be in your shell’s
variable, so you may need to type the full path of the command or add it to
PATH. For more information about
kubectl, see the
You can test the command by listing the available nodes:
kubectl get nodes NAME STATUS ROLES AGE VERSION docker-desktop Ready master 3h v1.8.2