Closed
Description
Docker Desktop built-in k8s doesn't start if you are using a different context other than docker-desktop
when you start Docker Desktop.
- I have tried with the latest version of Docker Desktop
- I have tried disabling enabled experimental features
- I have uploaded Diagnostics
- Diagnostics ID: F423B07D-A600-4B9E-9F9E-7AFB26629699/20210305180539
Expected behavior
Start Docker Desktop with built-in Kubernetes while using a different context
Actual behavior
Start Docker Desktop, but Kubernetes does not start.
Information
- macOS Version: Big Sur 11.5.2
- Docker Desktop Version: 3.6.0 (67351)
The original report was in Big Sur 11.2.2 and 3.2.1 (61626)
I can see the following error message on mac Console utility:
error while starting: cannot update the host kube config: invalid configuration: context was not found for specified context: my-eks-sso-context-in-another-file
Steps to reproduce the behavior
- Fresh install Docker Desktop
- Enable Kubernetes
- Kubernetes starts successfully
- Close Docker Desktop
- Create a new kube config file and add it on $KUBE_PATH (connect to eks contexts using
aws eks
) - Switch to another context, different from docker-desktop
- Restart Docker Desktop
- Got an error