Skip to content

Commit 42cbdf6

Browse files
authored
Add instructions to resolve docker context error (#19197)
1 parent 48cd795 commit 42cbdf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: cmd/minikube/main.go

+1
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ func propagateDockerContextToEnv() {
289289
md, err := st.GetMetadata(currentContext)
290290
if err != nil {
291291
klog.Warningf("Unable to resolve the current Docker CLI context %q: %v", currentContext, err)
292+
klog.Warningf("Try running `docker context use %s` to resolve the above error", currentContext)
292293
return
293294
}
294295
dockerEP, ok := md.Endpoints[ddocker.DockerEndpoint]

0 commit comments

Comments
 (0)