Skip to content

Commit

Permalink
Run instead of which doesn't load the image into the runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Priya Wadhwa committed Aug 8, 2019
1 parent cdbb2dd commit 46c1163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/minikube/cruntime/containerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46c1163

Please sign in to comment.