@lia
To install Minikube on Ubuntu, you can follow these steps:
That's it! You have successfully installed Minikube on Ubuntu.
@lia
1 2 3 4 5 6 |
sudo apt update sudo apt install apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt update sudo apt install docker-ce docker-ce-cli containerd.io |
1 2 |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl |
1 2 |
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 sudo install minikube-linux-amd64 /usr/local/bin/minikube |
1
|
minikube start |
1
|
minikube status |
Additionally, you can run minikube dashboard
to access the Kubernetes dashboard. You might also need to install kubectl
by running sudo apt install kubectl
before proceeding with the steps above.
Ensure your system meets the minimum requirements for running Minikube, such as having a compatible hypervisor installed if you want to use a specific one rather than the default VirtualBox.