Minikube commands
45 commands in 5 groups: Install, Manage, Addons & Access, Images & Files, List & Inspect. Click or tap any command to copy it. Official documentation: minikube.sigs.k8s.io.
Open in the interactive cheat sheet search, stars and every other section
Install
Install minikube, a tool that runs a single-node Kubernetes cluster locally using a VM or container runtime.
curl -LO https://github.com/kubernetes/minikube/releases/latest/download/minikube-linux-amd64 && sudo install minikube-linux-amd64 /usr/local/bin/minikube
Install minikube binary on Linux amd64
brew install minikube
Install minikube via Homebrew
minikube version
Print minikube version
Manage
Start, stop, delete, and manage minikube clusters with support for multiple profiles and drivers.
minikube delete
Delete the current minikube cluster
minikube delete --all
Delete all profiles
minikube delete -p <profile>
Delete a specific profile
minikube start --container-runtime cri-o
Start with the CRI-O runtime (containerd is the default)
minikube start --driver docker
Start a cluster with the Docker driver
minikube start --driver podman
Start a cluster with the Podman driver
minikube start --driver qemu2
Start a cluster with the QEMU driver (Linux, macOS)
minikube start --driver vfkit
Start a cluster with the vfkit driver (macOS)
minikube start --driver virtualbox
Start a cluster with the VirtualBox driver
minikube start --kubernetes-version <version>
Start with a specific Kubernetes version
minikube start --nodes <n>
Start a multi-node cluster
minikube start -p <profile>
Start a named profile (multi-cluster)
minikube start --cpus <n> --memory <mb>
Start with custom CPU and memory
minikube stop
Stop the current minikube cluster
minikube stop -p <profile>
Stop a specific profile
Addons & Access
Enable addons (ingress, dashboard, metrics-server), expose services, and open the dashboard.
minikube addons disable <addon>
Disable an addon
minikube addons enable <addon>
Enable an addon
minikube addons enable dashboard
Enable the Kubernetes dashboard
minikube addons enable ingress
Enable the NGINX ingress controller
minikube addons enable metrics-server
Enable metrics-server for kubectl top
minikube addons enable registry
Enable the local Docker registry addon
minikube addons list
List all addons and their status
minikube dashboard
Open the Kubernetes dashboard in browser
minikube dashboard --url
Print dashboard URL without opening
minikube service <service>
Open a service endpoint in browser
minikube service <service> --url
Print service URL without opening
minikube tunnel
Create a network tunnel for LoadBalancer services
Images & Files
Load local images into minikube, SSH into the node, copy files, and build images inside the cluster.
minikube cp <src> <dest>
Copy files to/from minikube node
minikube image list
List images in the minikube container runtime
minikube image load <image>
Load a local image into minikube
minikube image build -t <tag> <dir>
Build an image inside minikube
minikube image load <image> --overwrite
Load image, overwriting if it exists (the default)
minikube ssh
SSH into the minikube node
minikube ssh -- <command>
Run a command on the minikube node
List & Inspect
Check cluster status, list profiles, view services, and manage persistent configuration.
minikube config set cpus <n>
Set default CPU count
minikube config set driver <driver>
Set the default driver
minikube config set memory <mb>
Set default memory in MB
minikube config view
View all config values
minikube profile <name>
Switch to a specific profile
minikube profile list
List all minikube profiles
minikube service list
List services and their URLs
minikube status
Show cluster status and health