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 driver unsupported on macOS (Apple Silicon) with minikube: Expected behavior or bug? #20468

Open
Agowan opened this issue Feb 26, 2025 · 1 comment

Comments

@Agowan
Copy link

Agowan commented Feb 26, 2025

What Happened?

I'm trying to use minikube with driver virtualbox but getting:

Exiting due to DRV_UNSUPPORTED_OS: The driver 'virtualbox' is not supported on darwin/arm64

I have followed the documentation here:
https://minikube.sigs.k8s.io/docs/drivers/
https://minikube.sigs.k8s.io/docs/drivers/virtualbox/

I have also found these issues on this particular subject:

In the comments it's clear that minikube does not support virtualbox due to the fact that virtualbox it self does not support arm64.

If minikube are suppose to support virtualbox on apple silicon, I would like re raise this issue due to these facts:

If minikube does not intend to support virtualbox on apple silicon, it would be good if the documentation clarifies that virtualbox is not supported for apple silicon arm64. As of now I could not find that information in the documentation.

Versions

macOS:

Apple M1 Pro
15.3.1 (24D70) (sequoia)

minikube (arm64):

minikube version: v1.35.0
commit: dd5d320e41b5451cdf3c01891bc4e13d189586ed

virtual box (arm64):

7.1.6 r167084 (Qt6.5.3)

Steps to Reproduce

minikube start --driver=virtualbox

Attach the log file

I0226 16:11:36.222137 53666 out.go:345] Setting OutFile to fd 1 ...
I0226 16:11:36.222714 53666 out.go:397] isatty.IsTerminal(1) = true
I0226 16:11:36.222719 53666 out.go:358] Setting ErrFile to fd 2...
I0226 16:11:36.222723 53666 out.go:397] isatty.IsTerminal(2) = true
I0226 16:11:36.222984 53666 root.go:338] Updating PATH: /Users/{username}/.minikube/bin
I0226 16:11:36.224198 53666 out.go:352] Setting JSON to false
I0226 16:11:36.253161 53666 start.go:129] hostinfo: {"hostname":"computername","uptime":455226,"bootTime":1740127470,"procs":867,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"15.3.1","kernelVersion":"24.3.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"xxxxxxxx-yyyy-eeee-gggg-hhhhhhhhhhhh"}
W0226 16:11:36.253280 53666 start.go:137] gopshost.Virtualization returned error: not implemented yet
I0226 16:11:36.263723 53666 out.go:177] 😄 minikube v1.35.0 on Darwin 15.3.1 (arm64)
😄 minikube v1.35.0 on Darwin 15.3.1 (arm64)
I0226 16:11:36.272293 53666 notify.go:220] Checking for updates...
I0226 16:11:36.272578 53666 driver.go:394] Setting default libvirt URI to qemu:///system
I0226 16:11:36.284691 53666 virtualbox.go:136] virtual box version: 7.1.6r167084
I0226 16:11:36.289676 53666 out.go:177] ✨ Using the virtualbox driver based on user configuration
✨ Using the virtualbox driver based on user configuration
I0226 16:11:36.297939 53666 start.go:297] selected driver: virtualbox
I0226 16:11:36.297945 53666 start.go:901] validating driver "virtualbox" against
I0226 16:11:36.307815 53666 out.go:201]

W0226 16:11:36.312852 53666 out.go:270] ❌ Exiting due to DRV_UNSUPPORTED_OS: The driver 'virtualbox' is not supported on darwin/arm64
❌ Exiting due to DRV_UNSUPPORTED_OS: The driver 'virtualbox' is not supported on darwin/arm64
I0226 16:11:36.317971 53666 out.go:201]

Operating System

macOS (Default)

Driver

VirtualBox

@afbjorklund
Copy link
Collaborator

It was a new feature with VirtualBox 7.1, before that it did not support ARM.

https://www.virtualbox.org/wiki/Changelog

VirtualBox 7.1.0 (released September 09 2024)

macOS/Arm host: Arm virtualization for Linux and BSD VMs


There are some other issues, though. For instance the new networking:

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

No branches or pull requests

2 participants