From 46c1163d68fa809a7a5cafbc451fe9b04f94941e Mon Sep 17 00:00:00 2001 From: Priya Wadhwa Date: Thu, 8 Aug 2019 11:04:08 -0700 Subject: [PATCH] Run instead of which doesn't load the image into the runtime --- pkg/minikube/cruntime/containerd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/minikube/cruntime/containerd.go b/pkg/minikube/cruntime/containerd.go index 88ed475be12b..dfad95d1c049 100644 --- a/pkg/minikube/cruntime/containerd.go +++ b/pkg/minikube/cruntime/containerd.go @@ -104,7 +104,7 @@ func (r *Containerd) Disable() error { // LoadImage loads an image into this runtime func (r *Containerd) LoadImage(path string) error { glog.Infof("Loading image: %s", path) - return r.Runner.Run(fmt.Sprintf("sudo ctr images import %s", path)) + return r.Runner.Run(fmt.Sprintf("sudo ctr -n=k8s.io images import %s", path)) } // KubeletOptions returns kubelet options for a containerd