Я пытаюсь запустить эту команду, но получаю ошибку при создании виртуального бокса.
minikube start --driver=virtualbox
asad@asadzoot:~$ minikube start --driver=virtualbox
? minikube v1.11.0 on Ubuntu 20.04
✨ Using the virtualbox driver based on user configuration
? Starting control plane node minikube in cluster minikube
? Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
? StartHost failed, but will try again: creating host: create: precreate: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The character device /dev/vboxdrv does not exist.\n\t Please install the virtualbox-dkms package and the appropriate\n\t headers, most likely linux-headers-generic.\n\n\t You will not be able to start VMs until this problem is fixed.\n6.1.6_Ubuntur137129". Please upgrade at https://www.virtualbox.org
? Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
? Failed to start virtualbox VM. "minikube start" may fix it: creating host: create: precreate: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The character device /dev/vboxdrv does not exist.\n\t Please install the virtualbox-dkms package and the appropriate\n\t headers, most likely linux-headers-generic.\n\n\t You will not be able to start VMs until this problem is fixed.\n6.1.6_Ubuntur137129". Please upgrade at https://www.virtualbox.org
❌ [VBOX_DEVICE_MISSING] error provisioning host Failed to start host: creating host: create: precreate: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The character device /dev/vboxdrv does not exist.\n\t Please install the virtualbox-dkms package and the appropriate\n\t headers, most likely linux-headers-generic.\n\n\t You will not be able to start VMs until this problem is fixed.\n6.1.6_Ubuntur137129". Please upgrade at https://www.virtualbox.org
? Suggestion: Reinstall VirtualBox and reboot. Alternatively, try the kvm2 driver: https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/
⁉️ Related issue: https://github.com/kubernetes/minikube/issues/3974
См. Скриншоты ниже:
screenshot-1
скриншот-2