# kind — Run Local Kubernetes Clusters in Docker > Spin up full multi-node Kubernetes clusters inside Docker containers in seconds. kind is SIG Testing's tool — the same way Kubernetes itself runs conformance tests. ## Install Save as a script file and run: # kind — Kubernetes IN Docker ## Quick Use ```bash # install on macOS / Linux brew install kind # or: go install sigs.k8s.io/kind@latest # create a cluster in under a minute kind create cluster --name dev # multi-node cluster from a config file cat <` ## Key Features - Cluster spin-up in ~30 seconds on modern laptops - Works on Docker Desktop, Colima, Rancher Desktop, and rootless Podman - Built-in support for kubeadm patches to test alpha API server flags - First-class CI story: `kind` is how Kubernetes itself runs its e2e suite - Extensible node image — rebuild with your own kubelet to test patches ## Comparison with Similar Tools - **minikube** — older, supports more drivers (VM, bare metal) but slower to start - **k3d** — wraps k3s in Docker; lighter runtime, different distribution - **microk8s** — snap-based, production-grade, but heavier for ephemeral CI - **Rancher Desktop** — GUI + local cluster; great for desktop, not CI - **Docker Desktop Kubernetes** — one-click, but single-node and slow to reset ## FAQ **Q: Can kind run on Apple Silicon?** A: Yes. The node image publishes arm64 variants and Docker Desktop or Colima handle the rest. **Q: How do I expose a Service to the host?** A: Add `extraPortMappings` to the cluster config, or use `kubectl port-forward` for ad-hoc access. **Q: Does kind support persistent volumes?** A: Yes, via a local-path provisioner. For stateful tests, mount a host directory with `extraMounts`. **Q: Can I use it to test cluster upgrades?** A: Yes — pin the node image to a specific Kubernetes version and recreate the cluster with a newer tag. ## Sources - https://github.com/kubernetes-sigs/kind - https://kind.sigs.k8s.io/ --- Source: https://tokrepo.com/en/workflows/25e04457-3900-11f1-9bc6-00163e2b0d79 Author: Script Depot