Back to feed
Dev.to
Dev.to
7/26/2026
Run Kubernetes in Docker on Ubuntu for Local Development

Run Kubernetes in Docker on Ubuntu for Local Development

Short summary

A practical guide to using kind (Kubernetes IN Docker) for local development on Ubuntu. Covers installation, single and multi-node cluster creation, loading Docker images directly into the cluster, port mapping for ingress, and common pitfalls like inotify limits and image pull policy. Ephemeral by design — clusters are throwaway, which is great for testing but not for persistence.

  • Install kind as a single binary and spin up a Kubernetes cluster in ~30 seconds
  • Configure multi-node clusters with config files for realistic scheduling and affinity testing
  • Load Docker images directly into kind nodes without a registry round-trip

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more