minikube start
Mikikube start examples
minikube start
minikube start --vm=true
minikube start --driver=kvm2
minikube start --driver=docker
minikube start --memory 4096
macOS
Minikube v1.25.1
minikube start π minikube v1.25.1 on Darwin 12.0.1 (arm64) π Unable to pick a default driver. Here is what was considered, in preference order: π‘ Alternatively you could install one of these drivers: βͺ docker: Not installed: exec: "docker": executable file not found in $PATH βͺ hyperkit: Not installed: exec: "hyperkit": executable file not found in $PATH βͺ parallels: Not installed: exec: "prlctl": executable file not found in $PATH βͺ vmware: Not installed: exec: "docker-machine-driver-vmware": executable file not found in $PATH βͺ virtualbox: Not installed: unable to find VBoxManage in $PATH βͺ podman: Not installed: exec: "podman": executable file not found in $PATH β Exiting due to DRV_NOT_DETECTED: No possible driver was detected. Try specifying --driver, or see https://minikube.sigs.k8s.io/docs/start/
Minikube v1.22.0
minikube start π minikube v1.22.0 on Darwin 11.3 β¨ Using the virtualbox driver based on existing profile π Starting control plane node minikube in cluster minikube π Restarting existing virtualbox VM for "minikube" ... β This VM is having trouble accessing https://k8s.gcr.io π‘ To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/ π³ Preparing Kubernetes v1.21.2 on Docker 20.10.6 ... βͺ Generating certificates and keys ... βͺ Booting up control plane ... βͺ Configuring RBAC rules ... π Verifying Kubernetes components... βͺ Using image gcr.io/k8s-minikube/storage-provisioner:v5 π Enabled addons: storage-provisioner, default-storageclass π Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
minikube start π minikube v1.22.0 on Darwin 11.3 β¨ Automatically selected the virtualbox driver πΏ Downloading VM boot image ... > minikube-v1.22.0.iso.sha256: 65 B / 65 B [-------------] 100.00%Β ? p/s 0s > minikube-v1.22.0.iso: 242.95 MiB / 242.95 MiB 100.00% 1.56 MiB p/s 2m36s π Starting control plane node minikube in cluster minikube πΎ Downloading Kubernetes v1.21.2 preload ... > preloaded-images-k8s-v11-v1...: 502.14 MiB / 502.14 MiB 100.00% 1.29 MiB π₯ Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ... π₯ Deleting "minikube" in virtualbox ... π€¦ StartHost failed, but will try again: creating host: create: creating: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue π₯ Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ... πΏ Failed to start virtualbox VM. Running "minikube delete" may fix it: creating host: create: creating: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue β Exiting due to IF_VBOX_NOT_VISIBLE: Failed to start host: creating host: create: creating: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue π‘ Suggestion: Reboot to complete VirtualBox installation, verify that VirtualBox is not blocked by your system, and/or use another hypervisor π Documentation: https://stackoverflow.com/questions/52277019/how-to-fix-vm-issue-with-minikube-start πΏ Related issues: βͺ https://github.com/kubernetes/minikube/issues/3614 βͺ https://github.com/kubernetes/minikube/issues/4222 βͺ https://github.com/kubernetes/minikube/issues/5817
Minikube v1.18.1 on macOS
minikube start π minikube v1.18.1 on Darwin 10.14.6 π Kubernetes 1.20.2 is now available. If you would like to upgrade, specify: --kubernetes-version=v1.20.2 β¨ Using the docker driver based on existing profile π Starting control plane node minikube in cluster minikube π Restarting existing docker container for "minikube" ... π³ Preparing Kubernetes v1.18.3 on Docker 19.03.8 ... π Verifying Kubernetes components... βͺ Using image kubernetesui/dashboard:v2.1.0 βͺ Using image kubernetesui/metrics-scraper:v1.0.4 βͺ Using image bitnami/kubectl:1.17 βͺ Using image gcr.io/k8s-minikube/storage-provisioner:v4 βͺ Using image heketi/heketi:10 βͺ Using image gluster/glusterfile-provisioner:latest βͺ Using image quay.io/nixpanic/glusterfs-server:pr_fake-disk π Enabled addons: storage-provisioner-gluster, default-storageclass, dashboard π Done! kubectl is now configured to use "minikube" cluster and "" namespace by default
Version v1.24.0 on WSL
π minikube v1.24.0 on Ubuntu 20.04 π Unable to pick a default driver. Here is what was considered, in preference order: βͺ docker: Not healthy: "docker version --format Template:.Server.Os-Template:.Server.Version" exit status 1: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? βͺ docker: Suggestion: Start the Docker service <https://minikube.sigs.k8s.io/docs/drivers/docker/> βͺ kvm2: Not installed: exec: "virsh": executable file not found in $PATH βͺ vmware: Not installed: exec: "docker-machine-driver-vmware": executable file not found in $PATH βͺ podman: Not installed: exec: "podman": executable file not found in $PATH βͺ virtualbox: Not installed: unable to find VBoxManage in $PATH β Exiting due to DRV_DOCKER_NOT_RUNNING: Found docker, but the docker service isn't running. Try restarting the docker
Version 1.18.1 on Ubuntu 20.10
minikube start π minikube v1.18.1 on Ubuntu 20.10 β¨ Automatically selected the docker driver. Other choices: none, ssh π The "docker" driver should not be used with root privileges. π‘ If you are running minikube within a VM, consider using --driver=none: π https://minikube.sigs.k8s.io/docs/reference/drivers/none/ β Exiting due to DRV_AS_ROOT: The "docker" driver should not be used with root privileges.
Version 1.18.1 on Ubuntu 20.04
minikube start π minikube v1.18.1 on Ubuntu 20.04 π Unable to pick a default driver. Here is what was considered, in preference order: βͺ vmware: Not installed: exec: "docker-machine-driver-vmware": executable file not found in $PATH βͺ docker: Not installed: exec: "docker": executable file not found in $PATH βͺ kvm2: Not healthy: /usr/bin/virsh domcapabilities --virttype kvm failed: error: failed to get emulator capabilities error: invalid argument: KVM is not supported by '/usr/bin/qemu-system-x86_64' on this host βͺ none: Not installed: exec: "docker": executable file not found in $PATH βͺ podman: Not installed: exec: "podman": executable file not found in $PATH βͺ virtualbox: Not installed: unable to find VBoxManage in $PATH β Exiting due to DRV_NOT_DETECTED: No possible driver was detected. Try specifying --driver, or see https://minikube.sigs.k8s.io/docs/start/
Version 1.12.3
minikube start π minikube v1.12.3 on Darwin 10.14.6 β¨ Automatically selected the docker driver β Increase Docker for Desktop memory to at least 2.5GB or more: Docker for Desktop > Settings > Resources > Memory β Requested memory allocation (1990MB) is less than the recommended minimum 2000MB. Kubernetes may crash unexpectedly. β Your system has 16384MB memory but Docker has only 1990MB. For a better performance increase to at least 3GB. Docker for Desktop > Settings > Resources > Memory π Starting control plane node minikube in cluster minikube π Pulling base image ... πΎ Downloading Kubernetes v1.18.3 preload ... > preloaded-images-k8s-v5-v1.18.3-docker-overlay2-amd64.tar.lz4: 510.91 MiB π₯ Creating docker container (CPUs=2, Memory=1990MB) ... π³ Preparing Kubernetes v1.18.3 on Docker 19.03.8 ... π Verifying Kubernetes components... π Enabled addons: default-storageclass, storage-provisioner π Done! kubectl is now configured to use "minikube" β /usr/local/bin/kubectl is version 1.16.6-beta.0, which may be incompatible with Kubernetes 1.18.3. π‘ You can also use 'minikube kubectl -- get pods' to invoke a matching version
Version v1.9.2
minikube start π minikube v1.9.2 on Darwin 10.14.6 β¨ Automatically selected the hyperkit driver πΎ Downloading driver docker-machine-driver-hyperkit: > docker-machine-driver-hyperkit.sha256: 65 B / 65 B [---] 100.00%Β ? p/s 0s > docker-machine-driver-hyperkit: 10.90 MiB / 10.90 MiB 100.00% 4.61 MiB p π The 'hyperkit' driver requires elevated permissions. The following commands will be executed: $ sudo chown root:wheel /Users/USERNAME/.minikube/bin/docker-machine-driver-hyperkit $ sudo chmod u+s /Users/USERNAME/.minikube/bin/docker-machine-driver-hyperkit πΏ Downloading VM boot image ... > minikube-v1.9.0.iso.sha256: 65 B / 65 B [--------------] 100.00%Β ? p/s 0s > minikube-v1.9.0.iso: 174.93 MiB / 174.93 MiB [] 100.00% 13.98 MiB p/s 12s π Starting control plane node m01 in cluster minikube πΎ Downloading Kubernetes v1.18.0 preload ... > preloaded-images-k8s-v2-v1.18.0-docker-overlay2-amd64.tar.lz4: 542.91 MiB π₯ Creating hyperkit VM (CPUs=2, Memory=4000MB, Disk=20000MB) ... π³ Preparing Kubernetes v1.18.0 on Docker 19.03.8 ... π Enabling addons: default-storageclass, storage-provisioner π Done! kubectl is now configured to use "minikube" β /usr/local/bin/kubectl is v1.15.5, which may be incompatible with Kubernetes v1.18.0. π‘ You can also use 'minikube kubectl -- get pods' to invoke a matching version
With errors
minikube start Starting local Kubernetes cluster... E0820 12:06:07.966435 2393 start.go:83] Error starting host: Error creating new host: dial tcp: missing address. Retrying. E0820 12:06:07.979545 2393 start.go:83] Error starting host: Error creating new host: dial tcp: missing address. Retrying. E0820 12:06:07.994242 2393 start.go:83] Error starting host: Error creating new host: dial tcp: missing address. Retrying. E0820 12:06:07.994465 2393 start.go:89] Error starting host: Error creating new host: dial tcp: missing address Error creating new host: dial tcp: missing address Error creating new host: dial tcp: missing address
Related terms
See also
- minikube: [
status
|start
|stop
|version
|addons
|addons list
|addons enable
|dashboard
|logs
|tunnel
|ssh
|config
|image | delete
],config set
minikube start --vm=true
, kicbase,~/.minikube/, minikube --help
, Minikube changelog - Kubernetes: distributions, tools, CKA, CKS, Kubernetes interfaces: CSI, CNI, installation, workloads, networking,
kubeadm
,Kubernetes API
, Kubernetes API Server,kubectl, kubeadm, kubelet, kube-proxy
, Cloud services: EKS, GKE, TKE, DKS, Helm, Kubernetes RBAC, Kubernetes deployments, Minikube, Rancher, OpenShift, Charmed Kubernetes, Ingress, Kubernetes scheduler, Kubernetes Finalizers, logging, Kubernetes operator, Orka,kind:
, Kubernetes namespaces, Kubernetes dashboard, Kubernetes Metrics Server, Field Selectors, CoreDNS, CRI, Kubernetes Topology Manager, Kubernetes governance: (SIG, KEP), Kustomize, controllers,ReadinessProbe, LivenessProbe
, KOPS, K9s, Kui, k3s, ImagePullBackOff, PDB, EndPoints, Kots, metadata, Karpenter, Replicated.com, Kubernetes Authenticating, Kubernetes timeline, Changelog/Versions, service accounts, Kubernetes Pod Lifecycle, Kubernetes Conformance Certified, Kubernetes backup, Kubernetes Pod Security Admission, tEKS, Kubernetes events, Kubernetes ports, Kubernetes policies, Connect, addons, DoKC, Kubernetes control plane, Kubernetes Federation, Kubernetes info, Kubetest2, Sidecar (Kubernetes)
Advertising: