run kubernetes minikube in a vm or in a linux docker host
run kubernetes minikube in a vm or in a linux docker host
in a vm
in a linux docker host
Minikube also supports a --vm-driver=none option that runs the Kubernetes components on the host and not in a VM. Using this driver requires Docker and a Linux environment but not a hypervisor.
then
$ minikube start --vm-driver=none
๐ minikube v0.35.0 on linux (amd64)
๐คน Configuring local host environment ...
โ ๏ธ The 'none' driver provides limited isolation and may reduce system security and reliability.
โ ๏ธ For more information, see:
๐ https://github.com/kubernetes/minikube/blob/master/docs/vmdriver-none.md
โ ๏ธ kubectl and minikube configuration will be stored in /root
โ ๏ธ To use kubectl or minikube commands as your own user, you may
โ ๏ธ need to relocate them. For example, to overwrite your own settings:
โช sudo mv /root/.kube /root/.minikube $HOME
โช sudo chown -R $USER $HOME/.kube $HOME/.minikube
๐ก This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true
๐ฅ Creating none VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
๐ถ "minikube" IP address is 10.0.2.15
๐ณ Configuring Docker as the container runtime ...
โจ Preparing Kubernetes environment ...
๐พ Downloading kubeadm v1.13.4
๐พ Downloading kubelet v1.13.4
๐ Pulling images required by Kubernetes v1.13.4 ...
see also