daemonBinary
seems to be always empty when getting image from Daemon?
#11359
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Hi,
It looks like the variable
daemonBinary
was never set before getting the image from the daemon:minikube/pkg/minikube/image/image.go
Line 53 in 807440a
minikube/pkg/minikube/image/image.go
Line 384 in 807440a
Therefore, images will always be pulled from the registry instead.
The only place where the variable is set is in
minikube/pkg/minikube/image/image.go
Lines 101 to 109 in 807440a
Which only happens when loading an already cached image
Steps to reproduce the issue:
docker pull busybox:latest
make
minikube start
minikube --log_file=./loadImage.log image load busybox:latest
daemonBinary
is always an empty string:If this is a bug, I can submit a PR to fix it. But not sure how to handle multiple profiles. For example, what if the user has two clusters, one using Docker and the other using Podman? Should we just try both daemons and see which one gets the image for us?
Thanks!
Full output of
minikube logs
command:Full output of failed command:
The text was updated successfully, but these errors were encountered: