Skip to content

mount: Error finding IPV4 address for VirtualBox Host-Only Ethernet Adapter #2442

Closed
@spawnia

Description

@spawnia

Bug Report

Please provide the following details:

Environment:

Minikube version (use minikube version): v0.24.1

  • OS (e.g. from /etc/os-release): Windows 10 Home x64
  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName): virtualbox (v5.2.6)
  • ISO version (e.g. cat ~/.minikube/machines/minikube/config.json | grep -i ISO or minikube ssh cat /etc/VERSION): v0.23.6
  • Install tools: Installed via choco

What happened:
I tried mounting a folder from my host machine into minikube via minikube mount C:\Users\Benedikt\projects\:/projects

This failed with the following error message:

E0121 16:05:59.868890    6556 mount.go:113] Error getting the host IP address to use from within the VM:  Error getting VM/Host IP address: Error finding IPV4 address for VirtualBox Host-Only Ethernet Adapter #4

I then followed the workaround mentioned in #1473 and renamed the Network Interface according to what the error output showed. After this, i could correctly mount the folder and access the files from within minikube.

What you expected to happen:
The mount correctly executes and my host files are available in Minikube.

How to reproduce it (as minimally and precisely as possible):
Try mounting a volume into minikube with virtualbox provider.

Metadata

Metadata

Assignees

No one assigned

    Labels

    co/virtualboxhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.os/windowspriority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.r/2019q2Issue was last reviewed 2019q2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions