Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VirtualBox 安裝 minikube start 遇到 The host-only adapter we just created is not visible #26

Open
fire-in-the-hold opened this issue Feb 3, 2020 · 1 comment

Comments

@fire-in-the-hold
Copy link
Contributor

minikube start

😄 minikube v1.6.2 on Darwin 10.15.3
✨ Automatically selected the 'virtualbox' driver (alternates: [])
🔥 Creating virtualbox VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...

💣 Unable to start VM. Please investigate and run 'minikube delete' if possible
❌ Error: [VBOX_HOST_ADAPTER] 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:
kubernetes/minikube#3614
kubernetes/minikube#4222
kubernetes/minikube#5817

😿 If the above advice does not help, please let us know:
👉 https://github.com/kubernetes/minikube/issues/new/choose

sudo "/Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh" restart

#另外要到隱私與安全設定內將 VirtualBox 權限允許

Unloading VBoxDrv.kext
Loading VBoxDrv.kext
Loading VBoxUSB.kext
Loading VBoxNetFlt.kext
Loading VBoxNetAdp.kext

minikube start

😄 minikube v1.6.2 on Darwin 10.15.3
✨ Selecting 'virtualbox' driver from existing profile (alternates: [])
💡 Tip: Use 'minikube start -p ' to create a new cluster, or 'minikube delete' to delete this one.
🔄 Starting existing virtualbox VM for "minikube" ...
⌛ Waiting for the host to be provisioned ...
🐳 Preparing Kubernetes v1.17.0 on Docker '19.03.5' ...
💾 Downloading kubelet v1.17.0
💾 Downloading kubeadm v1.17.0
🚀 Launching Kubernetes ...
🏄 Done! kubectl is now configured to use "minikube"

@drsm79
Copy link

drsm79 commented Mar 9, 2020

FWIW following this suggestion worked for me https://localwp.com/community/t/error-setting-up-host-only-network-on-machine-start-the-host-only-adapter-we-just-created-is-not-visible/5065/2 (after a minikube delete to give me a clean slate)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants