export CHANGE_MINIKUBE_NONE_USER=true
sudo -E minikube start --vm-driver=none
Last active
February 20, 2020 10:33
-
-
Save horitaku1124/2cee26625635df0027f6de29bb9e9fbd to your computer and use it in GitHub Desktop.
minikube setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "bento/ubuntu-19.10" | |
config.vm.provider "virtualbox" do |vb| | |
vb.cpus = "2" | |
end | |
config.vm.network "private_network", ip: "192.168.33.100" | |
config.vm.provision "shell", inline: <<-SHELL | |
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.9.0/bin/linux/amd64/kubectl | |
chmod +x ./kubectl | |
mv ./kubectl /usr/local/bin/kubectl | |
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.24.1/minikube-linux-amd64 | |
chmod +x minikube | |
mv minikube /usr/local/bin/ | |
minikube version | |
kubectl version | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" | |
apt-get install docker-ce docker-ce-cli containerd.io -y | |
ufw disable | |
SHELL | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment