Troubleshooting error with virtual box while starting a Minikube in MacOS.

Troubleshooting error with virtual box while starting a Minikube in MacOS.

Clock Icon2022.09.05

この記事は公開されてから1年以上経過しています。情報が古い可能性がありますので、ご注意ください。

Introduction

Hi this is Akshay Rao currently working in Annotation.Inc.
I had installed Minikube on my local machine and virtual box in MacOS but the Minikube use to exit as virtual box was not visible.
Minikube is a minimal Kubernetes implementation that launches a single-node cluster as a simple VM on your local system. Windows, macOS, and Linux systems can all run Minikube. Start, stop, status, and delete are just a few of the fundamental bootstrapping functions offered by the Minikube CLI when working with your cluster. However, for this instruction, you'll use a given online terminal that already has Minikube set up.

Troubleshooting the error

The error is shown below:-
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
The Solution:- The problem was that the virtual box was not properly installed on MacOS that’s why it show that the adapter is not visible.

go to system preference->Security & privacy->General->Allow apps downloaded from :App Store and identified developers-> tick on oracle and ok.

restart your Mac then start the Minikube with “Minikube start —driver=virtualbox”

Share this article

facebook logohatena logotwitter logo

© Classmethod, Inc. All rights reserved.