Skip to content

Commit d0996ef

Browse files
committed
Fix image loading with podman driver
This fixes issue 8426 Signed-off-by: Michael Adam <[email protected]>
1 parent 59eba66 commit d0996ef

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pkg/minikube/node/cache.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,7 @@ func beginDownloadKicBaseImage(g *errgroup.Group, cc *config.ClusterConfig, down
169169
return nil
170170
}
171171

172-
if cc.Driver == driver.Podman {
173-
return fmt.Errorf("not yet implemented, see issue #8426")
174-
}
175-
if driver.IsDocker(cc.Driver) && err == nil {
172+
if err == nil && (driver.IsDocker(cc.Driver) || (cc.Driver == driver.Podman)) {
176173
klog.Infof("Loading %s from local cache", img)
177174
if finalImg, err = download.CacheToDaemon(img); err == nil {
178175
klog.Infof("successfully loaded and using %s from cached tarball", img)

0 commit comments

Comments
 (0)