-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker desktop kubernetes failed to start #3631
Comments
I currently have the same issue. Diagnostics ID: 401C61D7-4808-491B-AFFF-0A25586E4B5C/20190422181917 |
Same same: |
I am also facing the issue. |
I was running into this as well and nothing in any of the other threads was helping. Added Google's DNS to the list of DNS servers in |
Same here! I would like to disable Kubernetes, but b/t it failed to start, the Preferences tab for Kubernetes has all options greyed out. Is there a way to disable k8s from the CLI before restarting Docker Desktop? Docker Desktop version: 2.0.3.0 (31778) |
same here |
same here with Diagnostic ID: 579109B7-0857-4867-B984-93C8FAD12583/20190529133328 |
I resolved this problem by,
|
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
I still have this problem with the latest version of Docker. None of the suggestions here work! I have no VPN active, even turned off my firewall, and added gogoles DNS servers as suggested above, but still it is physically impossible for Docker to start kubernetes. It just tries forever and ever and ever ... I'm running Mojave. Can't upgrade to Catalina yet since there are things I need that are guaranteed to not work in Catalina right now (they claim this is because of bad information from Apple, which I find very plausible). |
same here with 1EBC056B-E322-4D18-A7FE-48F2E844CBB0/20191127082124 |
I am having the same issue. Diagnostics ID is FE32F84A-8BAC-4361-B038-20C6722286DC/20200303225231 |
I changed swap size to 512MiB from 1GiB and it fixed the problem. |
I have finally solved the Kubernetes staring problem with the five strict steps as follows. 1. Select the items marked with the red color in Troubleshoot 1). Reset Kubernetes cluster 2. Remove Docker for Mac from Applications There are two ways. One is to remove Docker for Mac from Applications, and another is to replace the Docker for Mac with the new installation listed in the step 3. 3. Re-install Docker for Mac 1). Click Docker.dmg 2). Drag and drop Docker for Mac to Applications If the old Docker has not manually removed from Applications. Mac usually reminds a user to replace the old one with a new installed Docker for Mac. 3). Open and Verify Docker for Mac 4. Remove both pki and kube $ rm -rf ~/Library/Group\ Containers/group.com.docker/pki/ 5. Set the items in Preferences 1). General Do not set tick for Start Docker Desktop when you log in. It wastes a lot of time while dealing with the Troubleshoot. 2). Resources --> Advanced --> Swap It is preferable to set Swap to 0 GB (or zero GB) because Kubernetes sometimes For example. it is unavoidable to be failed while developers try to set up Swap on the Nvidia portable machines including Jetson Xavier, TX2 and Jetson Nano clusters for Kubernetes. The developers have to set the following command to disable the Swap functionality in the above-mentioned Nvidia machines. $ sudo swapoff -a 3). Kubernetes Select the tick to Enable Kubernetes 4). Apply & Restart Conclusion It usually take from 6 to 15 minutes to complete the setting depending on the factors including network speed, vpn and machine capabilities. It still has the unforeseeable factors to stop the successful configuration of Kubernetes even though adopting the above-strict steps. Or it functions bad for re-starting sometimes. I am wondering why Docker has not solved the big issue even though it has been existed for more than 2 years. |
I also had the same error "docker desktop kubernetes failed to start" when I reached the maximum storage space configured in Docker-for-Mac. It may seems obvious but it took me some time to figure it out, so I'm mentioning here for people googling the issue. For me running these fixed it: docker system prune -a
docker volume prune |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
14998DA9-3D45-4941-B41A-015FC8FC10B1/20190421022614
Expected behavior
Actual behavior
Information
Diagnostic logs
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: