@lia
To install Minikube on Ubuntu, you can follow these steps:
- Install Docker:
Update the package index:
sudo apt update
Install Docker's dependencies:
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Add Docker's GPG key:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-keyring.gpg
Add the Docker repository:
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Update the package index again:
sudo apt update
Install Docker:
sudo apt install docker-ce docker-ce-cli containerd.io
- Install kubectl:
Download the latest stable release of kubectl:
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
Move the binary into your PATH:
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
- Install Minikube:
Download the latest stable release of Minikube:
curl -LO "https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64"
Move the binary into your PATH and give it executable permissions:
sudo install minikube-linux-amd64 /usr/local/bin/minikube
- Start Minikube:
Start Minikube by running the following command:
minikube start
Minikube requires a virtualization driver to be installed. If you don't have one, you can install the recommended driver (VirtualBox) using the following command:
sudo apt install virtualbox
- Verify the installation:
Check the status of your Minikube cluster:
minikube status
It should show that the cluster is running.
That's it! You have successfully installed Minikube on Ubuntu.