Skip to content

minikube image load my-local-image:latest ❌ Exiting due to GUEST_IMAGE_LOAD #20529

@codingzerotohero

Description

@codingzerotohero

What Happened?

Exiting due to GUEST_IMAGE_LOAD: Failed to load image: save to dir: caching images: caching image "C:\Users\MyUserAcc\.minikube\cache\images\amd64\my-local-image_latest": getting destination path: parsing docker archive dst ref: replace a Win drive letter to a volume name: exec: "wmic": executable file not found in %PATH%

Have tried to run minikube delete --purge, then reinstalling minikube, also reinstalling Docker desktop.

Running minikube using the Docker driver. Docker is using WSL.

Attach the log file

logs.txt

Operating System

Windows

Driver

Docker

Activity

AmarNathChary

AmarNathChary commented on Mar 16, 2025

@AmarNathChary

It seems like there is an issue with your configmap.
Try recreating it. and make sure this path /etc/kubernetes/pki/ca.crt exists.

AmarNathChary

AmarNathChary commented on Mar 16, 2025

@AmarNathChary

/kind support

deepaksorthiya

deepaksorthiya commented on Apr 12, 2025

@deepaksorthiya

Same issue here, It Looks like it is due to the WMIC being deprecated and missing by default in Windows 11.
Mean while you can try .

docker image save -o image.tar deepaksorthiya/spring-boot-3-kubernetes:0.0.1-SNAPSHOT
minikube image load image.tar
gabrielgbs97

gabrielgbs97 commented on Jun 6, 2025

@gabrielgbs97

Add WMIC if using Windwos 11 23H2 or later, it is disabled by default

Get-WindowsCapability -Online | ? Name -like "*wmic*" | Add-WindowsCapability -Online

This won't be possible in near future, so wmic executable usage by minikube will have to be replaced by Get-CimInstance powershell cmdlets invokation or other WMI proviers

gabrielgbs97

gabrielgbs97 commented on Jun 6, 2025

@gabrielgbs97

is

cmd := exec.Command("wmic", "volume", "where", "DriveLetter = '"+d+":'", "get", "DeviceID")
needed anyway?

james-world

james-world commented on Jun 10, 2025

@james-world

Submitted a PR to fix this by using Powershell (which is included in Windows by default) as suggested by @gabrielgbs97 - which Microsoft also recommend moving to here.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/supportCategorizes issue or PR as a support question.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @james-world@deepaksorthiya@gabrielgbs97@k8s-ci-robot@codingzerotohero

      Issue actions

        minikube image load my-local-image:latest ❌ Exiting due to GUEST_IMAGE_LOAD · Issue #20529 · kubernetes/minikube