🐳 Minikube Installation Guide on Ubuntu

Minikube is one of the easiest ways to try Kubernetes on your local machine. It sets up a fully functional, single-node Kubernetes cluster inside a virtual machine or container, perfect for development and learning.
In this guide, we’ll walk step-by-step through installing Minikube on an Ubuntu system with Docker as the driver.
🔧 Step 1: Update System Packages
sudo apt update
📦 Step 2: Install Required Dependencies
sudo apt install -y curl wget apt-transport-https
🐋 Step 3: Install Docker (Minikube's Default Driver)
sudo apt install -y docker.io
sudo systemctl enable --now docker
sudo usermod -aG docker $USER && newgrp docker
Ensure Docker is working:
docker version
📥 Step 4: Install Minikube
Download the binary:
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
Make it executable and move it to your system path:
chmod +x minikube
sudo mv minikube /usr/local/bin/
Verify installation:
minikube version
🔧 Step 5: Install kubectl
kubectl is the command-line interface for interacting with Kubernetes clusters:
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x kubectl
sudo mv kubectl /usr/local/bin/
Verify it:
kubectl version --client
🚀 Step 6: Start Minikube
Launch your cluster using Docker:
minikube start --driver=docker --vm=true
This will spin up a single-node Kubernetes cluster inside a container.
🔍 Step 7: Check Cluster Status
Check Minikube’s status:
minikube status
Interact with the cluster using kubectl:
kubectl get nodes
🛑 Step 8: Stop or Delete Cluster
To stop the cluster:
minikube stop
To delete it completely:
minikube delete
✅ You're Ready!
Minikube is a great local environment to experiment with YAML files, practice deployments, and simulate real K8s behavior.
Subscribe to my newsletter
Read articles from Shraddha Modhera directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
